WMS: Add options for limiting map size and number of layers

Adds the following options to the WMS config:

* LayerLimit
* MaxWidth
* MaxHeight

Especially the two latter ones are importang for limiting the amount of memory used by a single GetMap request.