Fix 2.2 build
fix
add collection test
Merge branch 'collection' of github.com:NicolasBadey/FSCHateoasBundle into collection