handle zero-result queries, specify index/type, add stub of rspec

Attempting to aggregate several PRs, feature requests and issues:

https://github.com/elasticsearch/logstash-contrib/pull/57
https://github.com/elasticsearch/logstash-contrib/issues/95
https://github.com/elasticsearch/logstash-contrib/pull/96

with help and input from @greem @sisutcliffe @bleskes et al.

I know this was similar to the older code, but prefer not to use hash-colon syntax and also prefer parenthises:

```ruby
@client = Elasticsearch::Client.new(:hosts => hosts, :transport_options => transport_options)
```