Deprecated MetadataModuleManager.

Manager only implemented two methods.

Moved those two methods to PackageManager.