Add support to send entries to elasticsearch
add elasticsearch to gemfile
don't initialize es client each time
allow passing index as flag
get es index from es url, stop passing it as 2nd option
Clean up some code. Add test cases for ES.
Merge branch 'sent-hil-master'