Implement Travis to run tests and deploy to npm

So here's what you'll need to do in order to finalize:

1. Replace {{email}} in .travis.yml with the email you use on npmjs.org
2. `gem install travis` if you don't have the CLI
3. `npm login`
4. `cat ~/.npmrc | grep _auth`. This is your npm api key.
5. `travis encrypt {{key}}`, replacing `{{key}} with your npm api key
6. Replace `{{key}}` in .travis.yml with the encrypted string