Added jshintConfig options and fixed JSHint errors.
Merge branch 'jshint-1' into dev