res: check dbus after creation.

make sure dbus works
res: port to new get_dbus function
res:comm:: correct get_dbus function.

when the property test is failed, the dbus must be recreated, otherwise the
condition test will always be false.
Merge branch 'develop' of github.com:linuxdeepin/dde into develop
osd:turn on CapsLock on Off
port all to new get_dbus function, and fix some warnings