Fix some bugs with pagination system
Fix some mistakes to paginate, refactor code to be more generic : add Doctrine formatters
Works with formatters to work with related objects in the same way as for parent objects