add support for WMTS parser

This PR adds the WMTS parser (and part of an OWSCommon parser needed for it).
What still needs to be done in a separate PR is integrate the parser with the layer source.