Replace Server with Connection in some more places

Also allow subclasses in ActionComponentChains.

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