Clean up linter errors

Grunt's linter checks were complaining about a whole bunch of minor
quibbles. This patch silences the majority of those.

Partially fixes: SVMP/svmp-web-console#1
Attempting to fix the local-config.js autocreate

Related to: SVMP/svmp-web-console#2