added DoctrineRegistry, implementation of Doctrine ManagerRegistry interface for simpler integration with 3rd party libs suchas DoctrineBridge.