Convert tile urls to be more in line with leaflet and josm. Fix for wms link for tiles