make the ManagerRegistry class configurable

fix for https://github.com/doctrine/DoctrinePHPCRBundle/issues/73