Add a batching mechanism for riemann TCP writes

This does not batch notifications.
Merge pull request #800 from pyr/feature/riemann-batch

Add a batching mechanism for riemann TCP writes