fix(app-jshint): recursively lint server code

Changes:
- Update jshint file globbing in `Gruntfile.js`
- Use `"latedef": "nofunc"` instead of `"latedef": true`
- Add Mocha specific globals to server spec test
- Fix pre exsisting lint errors in `server`

Closes #463