make PHPCR ODM 5.6 compatible by fixing the bug with creating new class instances
Merge pull request #537 from doctrine/fix_5_6_class_instanciation_bug

make PHPCR ODM 5.6 compatible