Context handler and signal handling
[based off deps branch]
- Added signal handler to quit on SIGINT/SIGTERM.
- Moved fsnotify creation to event file, which now cleans up inotify subscrition on exit.
- Added context handler to clean up goutines on exit.
[based off deps branch]