added travis configuration.
added generated code to .gitignore.
added elasticsearch to travis dependencies.
added assets back, so that it's easier to deploy to Heroku.
added comments, switched to using environment variables so that we can easily run this on Heroku.
Merge pull request #3 from bcoe/travis

Polishing off sample code for article.