implemented a bunch of the batctl library functions, a few more complex stubs remain. added some test of the library to watchdog_service.lua