Added PSExporter

Generated PS files are read correctly without any warnings by
ghostscript. They use a few functions to minimize code size.

This commit also sneaks in a minuscule code-size optimization on
PDFExporter.