add mocha as a development dependency
makefile to run upcoming test suite
check code coverage with istanbul
run test suite from npm
add travis configuration for automatic testing