Remove PG::TextEncoder::BYTEA, as it was not correct.
Use #to_i for encoding of non Numeric types. That allows use of strings like
"123-garbage" as integer input.
Add PG::TextEncoder::QUOTED_LITERAL.

This can be used to encode values directly for sql insertion.