Added support for Piwik analytics.
Added a template check so that we don't record home page as a site search.
Refactored Piwik support for better readability and extensibility. Added a couple more custom variables (Sort, Page, Limit, View) to search tracking.
Merge pull request #212 from KDK-Alli/piwik

Added support for Piwik analytics.