handle all requests in a transaction.
flip args to inTransaction
withSavepoint middleware
rename pgSetRole, pgResetRole to setRole, resetRole
authenticated middleware
rename reportPgErrors to clientErrors
move auth out of dbapi, use middleware, put in main
fixing up the test app
fix/unpend tests.