Adding mocha as a devDependency for running tests.
Adding tests for our top-level index.js.
Adding a travis config.