Getting watch working and including .jshintrc.

It looks like test.js changed a lot but I just wrapped the code in a function and indented.
Factoring out the replaceWith tests to use generator.
realized i can’t get totally general.
splitting out remaining tests, and sorting by input string length for easier eyeballing for repeat tests.
missed one line when doing the eyeball sort.