Retrieve class metadata for all entity managers

An entity could have several entity managers associated to it
(which doesn't happen often I guess). Metadata from the right entity
manager is now retrieved anyway.