added encoding of erlang inet types
added tuple->custom types
Fixed unicode characters handling in pgsql_binary.erl