Normalize superfluous %xx escaping in URLs; three more parser tests pass now.

This also makes the new ~ and = tests pass which were added in
https://gerrit.wikimedia.org/r/60874

Change-Id: Iddb5033c606dc40f851b4f6101037bfdb2d52ea7