Added NPM test script
Added travis configuration. closes #4