Add support of reading WMTS Get Cap document

This commit fixe #2721. It still lacks the possibility to create layer from the GetCap document. It also lacks the reading of TMS limits.
Same as above, `object.tileMatrixSets` is renamed, so when you set `goog.object.set(object, 'tileMatrixSets', {});`, you actually don't target the same reference.