Support $meta documents in Cursor::sort()

Don't cast non-scalar order values, which will allow $meta documents (MongoDB 2.6+) to be used.
Revise unit tests for sort order conversion
Merge pull request #192