Added support for Piwik analytics.
Added a template check so that we don't record home page as a site search.
Merge branch 'piwik'