Cleanup.
Moved karma config to gruntfile and added separate grunt task for testing on travis ci.