Make mocha a devDependency

Move mocha from dependencies to devDependencies so that `npm install` does not need to download and install mocha and its dependencies.