Add launcher utils to support new launcher.

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