Remove namespace PG::Type and move all contained classes in PG namespace.

Rename function names accordingly.
Add a common base class PG::Type for PG::SimpleType and PG::CompositeType.

"some kind of PG::Type" sounds a little bit better than SimpleType.