avahi: More review comments and some other fixes.

- Switched to newstyle class
- Switched to safe values in kwargs