Updates Configuration

Now uses settings as flag then environment then default where
flags take the form "lower-case-dash-separated" and environment
variables the form "UPPER_CASE_UNDERSCORE_SEPARATED" so that they
can be programatically dealt with. The PORT variable and the
server-addr flag are a special case.
Adds Google Analytics code

Adds support for google analytics support.