Expose the query method

This PR exposes the `query` method, so it can be used with `Keen.query`