add single quote check to jshint and fix src files for that

[fixes #522]