Add unit tests for URLBuilder

Change-Id: Ia85592b8b5bdd55159972e2fcc1c46e41ea2ce96
Reviewed-on: http://gerrit.dmdirc.com/2872
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager