Added variables, functions, and logic so PiwikTracker can update client cookies when the VisitorId is set or updated.

Conflicts:
	libs/PiwikTracker/PiwikTracker.php
Wrong variable was being used in cookie creation.
Imported several functions from piwik.js, translating them to PHP.  Refactored existing methods to take advantage of imported functions.

Conflicts:
	libs/PiwikTracker/PiwikTracker.php
Replaced tabs with spaces.
Removed unnecessary code imported from piwik.js
Refactored and renamed cookie creation functions to better match piwik.js.
Fixed typos and added missing parameters to parallel piwik.js
Fixed typo
Fixed typos
Replaced tabs with spaces.
Removed outdated comments
Moved default cookie values into constructor.
Moved cookie creation logic to top of getRequest() so *Ts values are processed correctly before the url is created.
Changed session cookie to setrawcookie() to avoid url_encode on the asterisk.
Added clientCookiePath to better parallel JS code.
Added several cookie variables to getRequest().  Added newVisitor to parallel piwik.js.