[WIP] Fixes for PHPCR-ODM

This PR will hopefully succeed in getting the PHPCR-ODM implemntation working.
the `doctrine` is always present when the DoctrinePhpcrBundle is activated - but this does not mean the ORM is installed.