Add karma configuration, closes #25.