Add 'npm test' and travis CI integration.
Merge pull request #183 from cscott/travis

Add 'npm test' and travis CI integration.