Import the URLCanonicalizer unit test, based on the test cases from the url_canon_unittest.cc file from GoogleURL.
Created attachment 186650 [details] WIP Patch
Created attachment 186815 [details] Patch
Created attachment 196372 [details] Patch