PluginManager shouldn't keep a reference to Main.

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