Support for TMS system.

Usage in controller:

tileLayer: {
	type: "TMS",
	url: "http://tilecache.osgeo.org/wms-c/Basic.py/",
	layername: "basic",
	serviceVersion: "1.0.0",
	fileExtension: "png"
}

example: http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/tms.html