Update mocha and coveralls to latest version
Add homepage and bugs properties to package.json
Add .jshintrc config file
Add 'use strict' statement
Fix global variable leak
Update scripts to match the new coding styles
Fix tests under Windows