Remove unparam:true from jslint config in Gruntfile.js

issue #1365
- added /\*jslint unparam:true*/ to functions where absolutely necessary
- added /\*jslint unparam:true*/ to functions in which keeping parameter
  list added clarity to the underlying api, even when those parameters
  are not currently used
- removed unused parameters in a few places