move from nodeunit to mocha for tests.  added `npm test` to run tests.
add travis file