added generated code to .gitignore.
added elasticsearch to travis dependencies.