Added Karma, and started unit tests.
Added jasmine and the jasmine adapter for IntelliJ Idea to quit complaining at me.