Merge pull request #979 from tschaub/xyz

Export ol.source.XYZ.
Factor out ol.TileCoordTransformType
Add ol.source.TileImage#setTileUrlFunction
Add ol.source.XYZ#setUrl and friends
Add XYZ set URL example
Add FIXME about avoiding tile cache clears