Add JSHinting.
Fixup JSHint errors in newly generated app.
Merge pull request #482 from rjackson/add-jshinting

Add JSHinting.