Fixed code coverage scripts

- Updated package.json with a new script for coveralls.
- Updated travis.yml to run the npm script instead.