Make constant.js work as an npm module
Make `npm test` run mocha specs from the command line
Configure travis-ci