combination of 8 commits.

piwik: add event tracking

cc/ @calvinfo @amillet89