fix: don't crash/terminate upon errors within chokidar

Handle errors from chokidar and route them to the console. Previously,
these unhandled errors (which are very common when editing in Visual
Studio) would cause karma to terminate and all browsers to vanish. Fixes
#959
Merge branch 'pr-1020' into presubmit-stable-pr-1020