Add setQuery plugin method. Closes #28.
Merge pull request #159 from jharding/28-set-query-api

Add setQuery plugin method