JSHint and cleanups

I've made and added `/.jshintrc` as set up as close as possible to your coding style, and then gone through most all of the simple style (all strings in single quotes instead of doubles) and white-space adjustments indents and trimming and extra comma/semicolon related bits.

This is untested, however I re-re-reviewed it multiple times and definitely didn't change any logic, just formatting and making everything very consistently the same.  I have more pull reqs coming soon, next one will be for a couple possible bugs where code did not seem to make sense, and my IDE (WebStorm) was complaining about the logic.  I am not sure what (if any) bugs these may be related to.

WebStorm has some inspection utilities in addition to just JSHint, and it exports XML dumps of all the results... I've temporarily added these to the `/test/inspections/` folder so you can browse the diffs as I eliminate the complaints.  Of course no project will quite hit 0 inspection errors, but my target is to get a lot of them smoothed out so bugs have less places to hide.