Tidy up PerformWrapper.

No need for singleton junk any more, use an action factory.

Change-Id: I5174da7bdb59cadb96274f2d2c348d88bb87c09a
Reviewed-on: http://gerrit.dmdirc.com/2727
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager