Adapted paginator compiler pass to Symfony 2.2