Added return type to constructor in mongoCursor.php, added __construct t...

...o initMongoCursorClass(). Passed test.sh.

This should fix the segfault error when running ./test.sh on master branch.