whitespace/tab fixes - fixes 728

add whitespace check to jshint config, and make jshint scan subfolders
Merge pull request #987 from patrickkettner/whitespace-fixes

whitespace/tab fixes - fixes 728