Fixed an issue in how UsesDefaultPort was computed in XUri.
Added more unit tests for XUriParser.