Add support for 1bit PNG format to QGIS Server WMS

I've added support for 1bit PNG format (FORMAT=image/png; mode=1bit) to QGIS Server WMS. This enables the creation of non-antialiased black/white maps.