Fix bug

http://bugs.python.org/issue13936
Rename _simplify_href to _normalize_href

Add one assert statement, fix docstring