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.
Session logic should increment visitCount to 1 when it creates the first Session cookie.
Added newVisitor to API call.  Moved cookie API logic closer to existing ID info.
Added logic to create custom variable in getRequest().
Fixed whitespace.