perfomed changes for HAL conformity
added API Entity for HAL support
added first, last, pagination template, and totalpages to api, changed sortable to template,
corrected comment
bugfix: count in if
bugfix: fields; cleanup;
Merge branch 'develop' of git://github.com/sulu-cmf/sulu into feature/api-changes
improved ApiEntity by manually setting api-path; added test for count select in querybuilder;
bugfix: catch when id path not set
cleaned ApiEntity
cleaned some code
implemented getHalLinks test for RestController
implemented test for responseList
added test for hal response
cleaned some code
Merge branch 'feature/api-changes' into develop
Merge branch 'develop' of git://github.com/sulu-cmf/sulu into develop