Metric Batching Backports

A collection of backports from master allowing metrics to be batched by carbon-relay before being forwarded rather than passing them one-by-one they are received.

Not sure if this should be in the next release or the one after to prevent the next release from being too bulky.