add travis-ci
make npm test work
Merge pull request #38 from clkao/master

make tests work and enable travis-ci