src/daemon.lua: Add some helper functions: notifyt, watchdog_enabled, kick_dog