Flags conversion improvements. Part 1/6

Split conversion functions arguments to is_directory and subwatch and
make inotify2kqueue and vice versa flags conversion more fine grained.