Re-format and update mocha version

The title says it all.

* minor reformat (new lines at the end of files and semicolon)
* update mocha version
* add node.js versions in the `.travis.yml`