Allow for ODM beta version in composer.json

BETA5 is currently accepted for the Symfony2 bundle, so we can stick to that for now.
Remove unused MONGO_VERSION environment variable in travis.yml
Fix sort() argument and tests in PaginationAdapterTest