Add pgsql_errcodes module

Autogenerate mapping from error codes to names from postgres source.
Eg: pgsql_errcodes:to_name(<<"23503">>) -> foreign_key_violation.