Let plugins further extend tracking code via Event 'Piwik.getJavascriptCode'

This PR add to new feature to tracking code:

possibility to overwrite tracking code protocol.
options which could be included before `setTrackerUrl`.

ref: https://github.com/piwik/piwik/pull/6274