refactored to new api
refactoring
refactoring
refactoring
fixed and cleaned code
added TestContact to ClassMetaData array of test
fixed order of test table generations
reordered entites for tests
Merge branch 'feature/rest-api-refactoring' into develop

Conflicts:
	Resources/public/dist/components/categories/list/main.js