code style
Rename private emit function for clarity
Refactor addToFsEvents method
Refactor context handling
Add missing watcher.close() calls

Extra watchers were remaining active while the remaining tests were
running
Reorganize common helpers
Refactor all throttling code