Add layerType method to MapConfig class
Error out if PNG or GRID is requested for a MapConfig with no "mapnik" layers