Typo
Add site id to query
Improve tracking javascript injection

* fix tracking
* piwik.js loaded only once
* general and event trackers loaded in header
* track event pages only in event pages
Rename template
Default to https for api url if no schema provided
Fix query calls and report rendering