Cache metadata pojo's.
Fetch entities from package.
Fix tests
organize imports
temporary fix for packages to map, TODO: use code in PackageRepository instead
getEntities() -> getEntityMetaDatas()
Merge pull request #2015 from fdlk/fix/meta

Fix/meta