WIP refactoring

* move dbus helpers to xdbus.c
* logging macros -> logging.h
* build dynamic library
WIP keepalive-glib rpm build