Fix: CS and WS in Net_URL2Test, AllTests and Net_URL2

Also correcting comments, incl. adding links and version.
Fixed #19684: Redirects containing spaces do not work

A.k.a Recover from unencoded characters.

Net_URL2 was not able to recover from data within query and path
that was neither within the reserved, unreserved space nor
characters that have a reserved meaning (like %).

The issue was reported as Pear Request #19684 on 2012-10-30 21:52 UTC.

The solution is to encode those characters:

    [\x0-\x20\x22\x3C\x3E\x7F-\xFF]

Which is similar to what modern browsers do when an URL is put into
their address-bar.

Steps done:

- Add Test 19684
- Fixed Pear Request #19684 in class Net_Url2 parseUrl() method
Fix: Dataproviders aren't static any longer

Since PHPUnit 3.3. Also raises the PHP version requirements to
PHP 5.1.4.
Upd: Removed PHPUnit related code that is outdated or not needed
Imp: Switch to HTTPs for reference URIs

Links to Pear, IETF etc. have been changed from http: to https:.
New: Phpunit and AllTests.php compatible mode

A little tidy-up of the tests directory and better Phpunit
commandline runner integration.

Phpunit requirements still remain low at 3.3. Tested with Phpunit 3.7.

Tests can now be executed in the following ways:

From source:

  - $ phpunit tests
  - $ pear run-tests -u tests
  - $ php tests/AllTests.php

From PEAR (global, after install):

  - $ pear run-tests -pu Net_URL2

Steps done:

- Removed clutter from Net_URL2Tests testcase
- Moved require into AllTests.php
- Added phpunit.xml.dist
Fix: Removed dead code.

Dead code from Net_URL2Test::pathProvider() was removed and the test-data was extended from RFC 3986 5.2.4. Remove Dot Segments with all there written cases.

Some code was dead because it was wrong data that made tests fails so it was commented. This wrong data has been corrected now and then uncommented.

The wrong data was originally suggested by myself, probably due to my confusion between RFCs 1738, 1808 and 3986 back in the year 2008.

- Commented in 9305ca3a5e297e3243b55a2bac705872091cc4b4
- #14178
Prepared 2.0.2