Refactored some tests to use DataProviders to be able to be them more dedicated
Minor code cleanup; mostly DocBlocks and type hinting
Conde cleanup .. realized to late that there is no space ib concatinated strings
Fixed Tests: faulty expectations in dataProvider
Fixed Tests: faulty expectations in dataProvider
Fixed Tests: attribute »per_page« was added in commit 4cec997d1a3e8c3e81d84efb2ca7d2615dc49efe by narcoticfresh on 12.11.14
minor code cleanup
Remove type hint added earlier and corrected DocBock
Changes made by php-cs-fixer
Fixed: empty() does not support expressions prior to version 5.5 (did not know we are testing on 5.4 as well)
Renamed method isValid to validateRecord() and changed the return value to NULL since it already throws an exception, in case the validation failed. This refactoring eliminated unnecessary if statements.
Tested newly introduced validateRecord()
Fixed code arrangement based on PHPCS report
Merge pull request #6 from lapistano/RestBundleTestSuiteEnhancementProposal

Rest bundle test suite enhancement proposal
Thanks a lot!
Merge branch 'develop' of https://github.com/libgraviton/graviton into feature/graviton-event

Conflicts:
	src/Graviton/RestBundle/Controller/RestController.php