Allow hint by index name

http://php.net/manual/en/mongocursor.hint.php
Merge pull request #824 from Gnucki/master

Allow hint by index name (BUG)
Merge upstream branch 'master' into bugfix/custom-id-type