Fixed Pagerfanta resources to work properly with new JMSSerializer
implementation
Merge branch 'master' of git://github.com/borisguery/PaginatedResource