Add JSHint support.

Use `npm run check` or `npm run lint`.
Fix a few JSHint warnings.
.jshint.rc: Enable curly rule.
Get rid of node.js v0.9 from travis; it was buggy and not stable.
Reindent markdown.js.