make the ManagerRegistry class configurable

fix for https://github.com/doctrine/DoctrinePHPCRBundle/issues/73
right. this was from a previous version of the patch. will remove