Add file overwrite and file append monitor tests

- watch for more inotify events, but don't do anything with them yet
- add debugging messages for inotify flags
- don't stop the monitor until there are no more inotify events to be
  read (maybe this is bad)
- fix bug in test cleanup
- shorten log format slightly