Added mocha installation in the travis.yml file.

This is to fix error during build in Travis CI