Stage 1 - drop dependancy on clplumbing

Also includes:
- some refactoring of the do_reset/do_off/do_crashdump code that I did for pacemaker.
- watchdog_close() now takes a 'disarm' parameter