Fix unit tests

This fixes our unit test issues with karma. Added some missing dependencies that need to be injected into the browser for successful unit test runs. Migrated away from the stringify transform to [brfs](https://github.com/substack/brfs) for inlining the html templates into the final app file. It's not necessarily a great setup, but should work for now and will let us keep focusing on features.