feat(test): Unit testing support.

With karma, requirejs, angularjs and if necessary browserstack.
Some work towards functional testing support, but still a WIP.

It uses jasmine for the describe/before/after/it functions.
Chai for assertions.