Major overhaul
Update according to the implementation of Session
Test correction
Error codes docs
Drop MaybeTx
Accommodate to "hasql" API updates