EntityManager class name.

Hello,

I'm trying to extend the EntityManager in order to add and override some methods but the EntityManager class name is hardcoded when proxies are generated. If you get it from the container you can override the doctrine.orm.entity_manager.class parameter.