PHP-861: Added the MongoCursor::maxTimeMS() method.
Moved Hannes' duplicate key checking to mongo_cursor_throw() to merge with the timeouts.
Fixed comments as per review:

- Test filename
- prototype description
- variable name l -> time_ms
- error code check ordering