setup mocha

- Added mocha as a devDependencies to the package.json
- Added the npm install to the before_install to the travis.yaml
added node_modules to the .gitignore