Fix URL regex

Removes unwise characters from URL regex. These characters should be percent escaped according to RFC 2396.

Fixes [#1243](http://bugs.quassel-irc.org/issues/1243)