Add util method to BasePlugin for returning graphs

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