queryType: select

Since we plan to use it, I went away and implemented first piece for #11 myself :-).
would be cool if this could somehow be easier to use than passing in a dict