Karma

Karma runner integration with debug mode and coveralls.

Opening this in favour of #1399 
Branch should be master