WMTS GetCapabilities migration

Preparing for https://github.com/geoadmin/mf-chsdi3/issues/268

This PR is almost irrelevant as most of the work has been done in PR https://github.com/geoadmin/mf-chsdi3/pull/675