Pass ObjectGraphs around a bit.

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