Switch to elasticsearch curator.

Rewrote index_cleaner recipe to use the new elasticsearch curator.
Also added code to the recipe which figures out the address of
the es cluster to talk to. This code was extracted into a library
from server.rb
refactor search, use curator, merge in PR #276
Merge branch 'logstash_1.4' of github.com:lusis/chef-logstash into logstash_1.4

Conflicts:
	libraries/search.rb
	recipes/index_cleaner.rb
	recipes/server.rb