Include Karma test runner.
Adapt JSHint configuration to our code style.