add getManager

getEntityManager is deprecated in Symfony2 (and gone in 2.3). It would be nice if Doctrine followed this (or at least added the getManager call) ot make it consistent. https://github.com/sensiolabs/SensioGeneratorBundle/pull/123