Fix aruba failure behaviour

I adapted the current non-daemonised code to also cover the daemonised case, which means we can use the cleanup logic indiscriminately (thus test failures shouldn't cascade). We now also should know the relevant process ID at all times.

Still needed: an easy-to-test way that the config file change took effect.

Fixes #327, which arose out of work in #321 intended to cover #289.