Update JSHint to v2.5.0.
Tweak JSHint settings.
Fix various JSHint issues.