Added travis configuration. Updated test script, added test script to package.json.