wms improvements

* Made it working with EPSG:3857 as well
* Use uppercase WMS parameter names bbox -> BBOX
* Make sure returned data is an image. WMS can return error as XML and still used HTTP Status 200 OK