PGUtil

PGUtil.Write*() functions are now extensions to Stream, and follow the fluent pattern.
Many updates to use the new pattern.
Also some reformatting.