Change the implementation to use elasticsearch-ruby

Also adds ssl and basic auth capability to the plugin

Solves #1 
@jsvd this will be converted directly to docs, so can we remove the URL encodings?