Connect ES to BONSAI_URL if available
Avoid global es connection

It doesn't work in heroku. And it's better to avoid globals :)
Merge pull request #3 from nberger/bonsai-url

Avoid global es connection