Unit tests and multi-platform notifications

Reworked main watcher to be unit testable
improved jasmine-local module to detect failures
added node-notifier to facilitate cross-platform notifications