Measurement of the differential cross-section with respect to momentum and rapidity of the J/psi meson and the non-prompt J/psi cross-section fraction in pp collisions at sqrt(s)=7 TeV with the ATLAS detector