Implemented dbus call to get package list, resolves #10
Fixed some bugs in inotify code, fixes #16