New queries api

Requires https://github.com/uwescience/myria/pull/659

The Myria API for searching queries changed slightly; this PR supports the new APIs.

See https://github.com/uwescience/myria/pull/659 for more information.
Updated in 0c5d43d ... had to change the parameter names now b/c python gets mad if you use max/min as variable names. (Fine in **kwargs tho, as long as you don't actually call them that.)