Postgres error message parser
Provide proper JSON details for errors

Refines HTTP codes for server vs client problems

Fixes #92
Fixes #40