Use eslint instead of jshint.

Also, run code linting as part of the test command, and thus
of the build command.

Resolves #47.