Revert most of changes for ARIES-320 as there is a better way for agent support through ManagedPersistenceUnitInfoFactory extensions.