Inclusive, prompt and non-prompt J/psi production at mid-rapidity in Pb-Pb collisions at root S-NN=2.76 TeV