The Dirichlet energy of mappings from B^3 into a manifold: density results and gap phenomenon