Update lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php

Bugfix in ClassMetaData
Merge pull request #254 from wjzijderveld/patch-1

Update lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php