Do not load tiles outside extents for TileWMS source
Adding tests for TileWMS tileUrlFunction
add missing goog.require('ol.TileCoord')