Add a WMTS capabilities cache

fix #400