implement inotify directory watcher
Merge pull request #743 from MartinNowak/inotify

implement inotify directory watcher