Refactor ClassMetadata's hasRoute() and getRoute() methods
Add envelopes metadata
Update the EntityPersister