Support Piwik, make Google Analytics optional

Also move scripts to the bottom of body, so they don't delay loading of the page.