Added tests for parsing a string that is undefined
Added a test for scheme+address only (no path etc).
Added a test for scheme+address+path+queryString (no fragment) and updated the UrlTestSpec.js to not include '?' in the queryString and '#' in the fragment.
Added a test for scheme+address+path+fragment (no queryString)
Added a test for scheme+address+path+queryString+fragment (everything except credentials)
Refactoring of the code to make it a bit cleaner
Reordered the tests in urlParserTestSpec.js and renamed them to make it more clear what they actually tests
Added a few more test case and introduced a assertUrl() method to make testing easier
Added a TODO file
Make sure the test suite does not bail out on the first error it encounter.
Added support for parsing the port from the URL.
The parse() method can now handle user names in the credential section.
The parse() method can now handle passwords in addition to user names in the credential section.