Use common interfaces for typehinting

In favor of testing and the possibility to inject custom EntityManager services, I changed the type-hinting to ```Doctrine\Common\Persistence\ObjectManager``` and ```\Doctrine\Common\Persistence\ObjectRepository```.

Probably fixes #175 and partially #158.

This would also allow to use Neo4j as backend which I'm working on. Thoughts?