Switch testing suite to jasmine

This uses jasmine in karma to test, as all our tests are written in
jasmine. Install karma-cli globally, and run test suites by running
`npm test`.