Adding htmlhint and moving javascript spacing to four spaces.

This commit adds a htmlhint grunt task to the build for templates
and changes our jshint configuration to use four spaces to be more
consistent with other javascript projects.