Add ~ to the list of allowable URL characters.
auto merge of #10340 : eholk/rust/url, r=brson

According to http://tools.ietf.org/html/rfc3986, ~ is a legal character in URLs.