Use eslint instead of jshint for linting. * better linting results * test files linted, too * consistent code style checks Closes #568
Related to #345