Add queryWith, a query taking RowParser as argument

Helps with writing higher level libraries using postgresql-simple