lint tests and fix most linting warnings in underscore.js

I'm not really expecting anybody to review all of this. Just let me know if there's any objections to the concept.
:thumbsup:

These changes are orthogonal to linting. Can we do them in a separate pull?