Refactor IrcTextFormat::messageToHtml()

Changed the URL regexp to the one that is currently used in Konversation,
that is, where the original URL regexp was also taken from. The new regexp
is not only a tiny little fraction faster, but also requires a lot less
boilerplate code for sanity checking and fixing up the matched URL.