Added unit tests for XUriParser based on XUri unit tests.  Fixed discovered issues.