Updated path normalization code and tests.
Refactored some of the internals of the URI normalization implementation.