Adding support for configurable web analytics.

This adds the javascript boilerplate for google and piwik web
analytics to the primary layout file. Configuration parameters
for the analytics are stored in a newly added configuration file.

Fixes #113.