PHP-1063: Refactor cursor logic to follow MongoCommandCursor

https://jira.mongodb.org/browse/PHP-1063
What about the 32bit version of this test?