[WIP] added support for PHPCR

this also improves the detection for when the ORM is actually enabled.

requires https://github.com/schmittjoh/serializer/pull/184
adding MongoDB should be easy too