def query(query, opts = {})
			body = EasyExist::QueryRequest.new(query, opts).body
			res = HTTParty.post("", @default_opts.merge({
				body: body,
				headers: { 'Content-Type' => 'application/xml', 'Content-Length' => body.length.to_s }
			}))
			res.success? ? res.body : handle_error(res)
		end
def query(query, opts = {})
			body = EasyExist::QueryRequest.new(query, opts).body
			res = HTTParty.post("", @default_opts.merge({
				body: body,
				headers: { 'Content-Type' => 'application/xml', 'Content-Length' => body.length.to_s }
			}))
			res.success? ? res.body : handle_error(res)
		end
Runs the given XQuery against the store and returns the results

 @param query [String] XQuery to run against the store
 @param opts [Hash] options for the query request.
 @option opts :start [Integer] Index of first item to be returned.
 @option opts :max [Integer] The maximum number of items to be returned.
 @return [String] the query results