Set started_iterating to true after constructing cursor in rewind(); Fixed minor variable reference issue in mongoCursor.php; Added test for adding options after started iterating (which should throw exception)