Introduced parameter object for wms query parameters
Introduced logging, cleanup of WmsLayer