Hook up AutoCommands.

Add a lifecycle manager and a module. They should work, in theory,
when we fix the deadlocking...

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