Preliminary support for reprojection of WMTS data.

**DO NOT MERGE**
This shows a basic implementation, but it needs reviewing for inclusion of good ideas  from #507.