ElasticSearch output plugin to support multiple hosts and enhance stability 

ElasticSearch output plugin to support multiple hosts and enhance stability
--------------------------------------------------------------------------------------------------

1. Make elasticSearch output plugin to support mutiple hosts and round robin balance, which will help a lot to balance the resource and performance of whole elasticsearch cluster.
2. Improve stability by handling exception and retry with left servers while flushing bulk, which will reduce the possibility of data loss largely.
Indeed, rather than on each host, perhaps start with the first, then stop trying after successfully applying the template to a host in the array.