TMS example

Add a TMS example.

This PR needs an update from OL for this PR https://github.com/openlayers/ol3/pull/1942


- [ ] https://github.com/openlayers/ol3/pull/1942 merged