Replace all the hardcoded tilestrem URL occurences with a var
Fixes some minor errors in TileStreamSource.js
Adds js snippet to site_base_data.html
Merge with current origin/master

Conflicts:
	openquakeplatform/openquakeplatform/static/js/hazard_viewer.js
Replace tilestream urls in hazard_viewer.js
Small refactoring, added a leading / to url
Removed trailing / from TS_URL var
Add two missing leading slashes on TS api
Removed trailing / from TS_URL var
Fix missing slashes in gxp_tilestreamsource
Merge pull request #187 from gem/rm-ts-hardcoded

Replace all the hardcoded tilestream URL occurrences