Enable settns to be included via CommonJS (node), or via a web browser.

Also removed node_modules directory from the repository. Dependencies
should be installed using npm.
Deleted node_modules files
Added test runner for browser/jsdom testing. Currently broken.