Show detail photos on rollover, when available, in galleries

* Add JS to show detail photos on roll-over, and pre-load detail images to avoid roll-over delay
* Pages and site_info have lists of scripts to render (with the defer attribute)
* Replace jQuery with zepto.js
* cache jinja template bytecodes
* turn on jinja2 auto-escape