Add png output

Update the example to allow the map to be exported as png image.

I plan to update this example later to add a pdf output, more or less the same as http://demo.opengeo.org/~tschaub/ol/raster/examples/raster-pdf.html from @tschaub