Add queryWith, a qeury taking RowParser as argument

Helps with writing higher level libraries using postgresql-simple