Rearrages global variables into Site class.

Restricts image listing regeneration to once every 10 minutes (instead
of every request for the image listing).
Adds normalize.css and meta-viewport to layout.tpl.