FromBase64 encoder better fits into PG::BinaryEncoder and ToBase64 decoder better into PG::BinaryDecoder.
Add missing spec for hash form parameters to #exec_params .
Fix handling of query parameters in hash form in conjunction with type maps.

This moves the oid/format determining back into alloc_query_params1() and
avoids code duplication within type maps.