Dev

Hi, Trent.

Added Jasmine, a SpecRunner and a spec. Most of the code changes are minor cleanups such as typos or jsdoc usage. There were a couple of bug fixes that the tests so far have found, one of which (in detectSupport) I discovered had already been fixed when I moved everything over to the dev branch. I simplified a couple of things and of course had to make a testability change for the private functions. More to follow.

Steve