[WIP] PHP-1358: Allow command cursor option to be array or object

https://jira.mongodb.org/browse/PHP-1358