Change the implementation to use elasticsearch-ruby

Also adds ssl and basic auth capability to the plugin

Fixes #4
better example of a query in docs

Fixes #4
remove encoding from example url

Fixes #4