Adds support for $query in find operations.

@parkr @corydobson This adds support for `$query` [operator](http://docs.mongodb.org/manual/reference/operator/meta/query/) in find operations. The MongoDB client uses `$query` when the `sort` method is invoked on the cursor.