Add URL handling class

I implement a JavaScript class to parse and build HTTP and HTTPS URLs.
Additionally, I add test cases for this class.

In order to simplify work I add a Gruntfile which generates a JavaScript
test environment using QUnit.  The necessary libraries are loaded by
node.