Add Travis CI config and update test script in package.json.
Add build status to README.