'Performs a query and returns the results.
:param environment_id: the guid of a valid environment
:param collection_id: the guid of a valid collection
:param query_options: this is a hash of query params and their values
:return:'

def query(self, environment_id, collection_id, query_options):

    query_options['version'] = self.version
    return self.request(method='GET', url='/v1/environments/{0}/collections/{1}/query'.format(environment_id, collection_id), params=query_options, accept_json=True)
