Fix the Avahi example

– Avahi normally listens on the system bus, use that instead of the
  session bus,
– code updated to the current python-tdbus API,
– enable logging (this helped finding one of the bugs in the code, as
  tdbus sends some error messages there).