Add mocha and set up testing in config

Allows `npm test` to run tests for all modules in lib.
Add call-in-order module
Add tests for extract-text

Moves extract-text module to a directory to allow associated test file.