Move TS_URL to a setting in local_setting.py

This PR moves the was-hardcoded-in-template TileStream URL to a variable in the ```local_settings.py```.
I also moved the ```<script></script>``` part with variables in the head section of ```site_base.html```

Can be tested on platform-dev.openquake.org.