PHP-1321: Handle cursor structure from mongod for listCollections.
Set proper version ranges for which these tests should work.
PHP-1321: Handle listCollections response from server >=2.7.5, <=2.8.0-RC2
Free zval before returning on error
Revert "Set proper version ranges for which these tests should work."

This reverts commit 045001082607069ae50f0a878d8c89e9c660c3c2.
PHP-1321: Handle cursor structure from mongod for listIndexes.
Initialise list later, to prevent memory leaks in case the command failed.
Merged pull request #800