Refactored WMTS-layer handling so options/params work as with WMS