Karma

Karma runner integration with debug mode and coveralls.

Opening this in favour of #1399 
Well ok then just drop I suppose :)