make it possible to use auto_mapping with multiple document managers

https://github.com/doctrine/DoctrineBundle/pull/321