Allow string or array Cursor::hint() argument
Merge pull request #159