Add jshint and set all of the quicktests to strict mode.

Fix many improper implicit global vars, and clean up code, and add many semicolons.
imo, instrument the quicktests on an as-needed basis when you are debugging a particular quicktest, but dont put things on the window in general. as number of quicktests increases it is sure to cause conflicts and sad times.