Changed JavaScript Tracking Code generation to use "//", instead of verifying whether the site is using "https", or not, and generating a corresponding URL.

"//" has been part of the RFC for well over 18 years. It has been confirmed to work in all major browsers (Firefox, Chrome, IE, Opera).

References:
- RFC 1808 Section 4: http://www.ietf.org/rfc/rfc1808.txt
- RFC 3986 Section 5.2: http://www.ietf.org/rfc/rfc3986.txt
- Stack Overflow QA 1: http://stackoverflow.com/q/4659345/238722
- Stack Overflow QA 2: http://stackoverflow.com/q/6785442/238722
First attempt at fixing failing tests.
Merge branch 'master' of https://github.com/piwik/piwik
Missed one correction on the failing tests.
Removing pre PHP 5.3 checks
Update testMinimumPhpVersion.php
Update testMinimumPhpVersion.php
Update testMinimumPhpVersion.php
Update testMinimumPhpVersion.php
Allow reuse of Error::getErrNoString function.
Make sure arrays are formatted correctly in Log calls w/ sprintf params and indent message newlines so they can be more easily parsed.
added missing widgets PHPdoc, fix a bug in widget generator where namespace was not generated correct, generate a translation key for widget category in case user has not chosen an existing one, added an example to template that demonstrates how to remove a widget
Fix build error due to recent Log changes.
Do not overwrite log section of config w/ global when running tests.
Fix bug in Date::addPeriod(N, 'month') where max number of days in a month was not respected. So if subtracting one month from July 31, result would be July 1. Now result is June 30th. Note: there appears to be little to no change in speed, tested both in integration tests and the code by itself.
Log exception when API request catches it.
Fixes #6086, in piwikApi angularjs object, make sure we use and add abort() method to new promises returned by angularjs promise methods.
Make sure log messages are trimmed correctly for clean log output.
Fix build error due to recent Log changes.
Do not overwrite log section of config w/ global when running tests.