Implemented hasNext/next/getNext/rewind C++ methods in MongoCursor