Pass in directory to action manager.

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