Add support for TileMatrixSetLimits.
Update test scripts.
Cope with inconsistent WMTS spec.