modify: rebuild testing to use karma.js

- package.json test section changed
- travis preinstall removed (grunt)
- karma config added