Added PNGWriter.

The ImageCodec uses libpng if it is available.
Added PNG support for screenshots.