remove nlp code - can be a separate module
make tests runnable from command line

- tests use commonjs require
- test with mocha (allows for CLI testing and browser testing)
- remove unused vendor and boilerplate cruft