Don't need to explicitly clean up, refreshRepositories already does that.
Fix NullPointerException for attributes that don't have a refEntity.
Fix NPE when deleting non-existent entity.
Put package-less entities into the default package.
Small changes.
Add default package only once.
Revert "W.I.P trying to fix EmxImportServiceTest"
Merge pull request #2011 from molgenis/revert-2010-feature/meta

Revert "W.I.P trying to fix EmxImportServiceTest"
Merge pull request #2012 from molgenis/revert-2010-feature/meta

Revert "W.I.P trying to fix EmxImportServiceTest"
Merge branch 'master' of https://github.com/molgenis/molgenis into feature/meta
Merge branch 'feature/meta' of https://github.com/jjettenn/molgenis into feature/meta

Conflicts:
	molgenis-data-mysql/src/test/java/org/molgenis/data/importer/EmxImportServiceTest.java
Merge branch 'feature/meta' of https://github.com/molgenis/molgenis into feature/meta

Conflicts:
	molgenis-data-mysql/src/test/java/org/molgenis/data/importer/EmxImportServiceTest.java
Merge pull request #2013 from fdlk/feature/meta

Feature/meta
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
Merge branch 'master' of https://github.com/molgenis/molgenis into feature/meta