Remove almost all references to Main.

Change-Id: Idf1c76e81da4eecd499a25f28e363a8150be8ac3
Depends-On: I26afe84deee38d23275f927d930fd479e900d32a
Reviewed-on: http://gerrit.dmdirc.com/2718
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Update submodules: plugins (new commits)

plugins:
    64ff4ac Chris Smith <chris@dmdirc.com>
            Remove almost all references to Main.

            Depends-On: Idf1c76e81da4eecd499a25f28e363a8150be8ac3
            Gerrit: http://gerrit.dmdirc.com/2719

Change-Id: I43a73b451f35ca4d81a848cbff856eacf9696262