Clean up long lines, lint, etc.

In preparation for enabling coffeelint as part of the CI build, clean up
lint in src/.
Enable coffeelint on source files: fixes #302

We can turn this on for tests later.