template-based system for generating HTML and compiled JS files

This simplifies configuring site-local variables CITYNAME, SITENAME, URL.
Also, external JS libs are downloaded, stored locally, and compiled into one JS file per HTML file to make stuff work for Freifunk clients without access to the external Internet.