Add angular unit testing infrastructure, and first test. Issue: #370
Moved karma tests out of 'tests' directory so they are not included in kanso modules. Added phantom test running to grunt and modified the ci build to use grunt instead of custom scripts. karma tests can now run headless on the ci server. Issue: #370