Refactor kill_cursor into kill_cursor_le and php_mongo_kill_cursor.
Refactor QUERY/GET_MORE error handling into its own function.
Refactor exception codes.
Fixed PHP-755/PHP-756: Support CursorNotFound/QueryFailure query flags
Added constants for the OP_REPLY flags.
ZTS fixes.
Make a mask for error flags and provide a check end error code for a default error case.
Fixed return values in case errors were handled.
Added extra clarifying comments.
Merged pull request #454
Merge branch 'v1.4'