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.
Merged PR to put in code for 2.7.5 to 2.8.0RC2 again