The constructor for ol.source.TileImage accepts an option for the tileClass, but ol.source.WMTS does not pass this to the parent. This pull request adds that in.