Respect server's tile pixel ratio in TileImageSource and add wmts-hidpi example

With this change, HiDPI tile sources are
finally possible. The WMTS example is a proof of concept.