Added derived To/FromJSON instances for FileIdent, EventKind,
Notification, and Path
cleaned up the code a tiny bit
fixed the TreeActions