use phpcr-odm interface to avoid core bundle dependency

this should work, but only once https://github.com/symfony-cmf/CoreBundle/pull/138 is merged will sonata work as expected again.