Make sure all events are published to logstash
Make sure all events are published to logstash

Loop over batch to be published until all events have been published or an
error is returned. Due to send window slow-start the loop will ensure all
events will be send while the window size grows.

Refactor logstash client PublishEvents to have a publishWindowed method
returning the total number of events being published.

yapdns/yapdnsbeat,yapdns/yapdnsbeat