Setup basic component testing

In this commit:
- .jshintrc with jasmine & other testing globals allowed
- Configuration for karma, both for jenkins & local (Jenkins version
  generates junit-style reports)
- Test utility file that contains some functionality for making
  component testing easier. E.g. determining paths, loading templates
  the easy way, attaching scopes.
- Test that tests if the utility test works.
- Added angular mocks
Added npm test & better reporter