dbus: fix warnings, implement GetCaps method (the signal is still missing)