moving 'scan' functionality from ebusctl into ebusd continued.