Refactor tile functions

* Add support for minZoom in XYZ tile grids and tile sources
* Factor out common tile coordinate transforms
Clip tiles to extent in tile coordinate space
Promote createTileCoordTransform into base class