Add strict .jshintrc and correct subsequent errors

This commit adds a complete .jshintrc with all enforcing options set to true and all relaxing options set to false. The only things I was not able to correct were Cyclomatic Complexity and Depth checks.