Karma JS testing

* initial Karma configuration
* added angular mocks to the mix
* wrote initial spec