Settings: Add Google Analytics

Put standard Google Analytics code
in the index view, and add a setting
to specify the analytics ID.

Introduce the notion of a settings cache,
which is saved in the express app object.

Added some middleware to load settings from
the database into the cache, when appropriate.