Added some test infrastructure. Configured Karma to run tests. Configured Grunt to run Karma.