Added JS Tests with karma and jasmine
Add OS X notifications for karma tests
Added karma tests for travis