Revert change that breaks test. See internetarchive/surt#1
Revert "add exception handling to canonicalize.py"

This reverts commit 26b0c49e5aed7bfbdca3fc340df8bfc2e671d067.
Revert change that breaks test. See internetarchive/surt#1
Revert "add surtMode=True and includeScheme=True optional parameters"

This reverts commit c62d3d1e11fe9e189c376ec18424cefdb2ebcf1b.
Add test case for bug introduced in previous commit.
Fixes internetarchive/surt#1