Add AMD compatibility.

For requireJS etc.
Fixed to be used in qunit
Merge pull request #13 from xuey90/master

Fixed the CommonJS export to still work with QUnit (global `module` function).
Whoops! Updated minified copy to match unminified.
Updating Jakefile to work with latest JsHint, Jasmine, Uglify
Merging PR #9. Adds AMD support.
Tweaked Jakefile to work on Windows
Handle slashes between origin and path
Merge commit 'cc6e18f'

Conflicts:
	Uri.min.js
	spec/Uri.spec.js