Add PG::TypeMapByClass. This replaces PG::TypeMapByMriType with a more portable
and flexible way to encode values.
Work around corrupt gems on travis-ci.