refactor: split low level inotify code and watchdog emitter implementation into separate files
remove unused constant ALL_INOTIFY_BITS