Added more test cases for URL helpers.
Use URLRelativeToURL instead of custom implementation.
Add ability to extract parameters into a [String:String]? directly from NSURL, assumes there are no duplicates in the query.