Add mongocommand cursor from document

Based upon https://github.com/mongodb/mongo-php-driver/pull/635, which should be merged first.