MetadataMap checked for parent classes

When proxy classes are substituted for mapped entities in Doctrine the resources are not rendered properly.  

This PR adds parent class checking of metadata mapping information.  I think this can reach further than the Proxy use case such as a common logging resource with extended resources for Doctrine inheritance.