Fixed prototypes.
Fixed PHP-1010: commandCursor should not require batchSize option to be set manually.
Merged pull request #612