Added a metric to measure the effects of batching in the TcpSender.
change the ClusterInfoSession so that mkdir and setData happen atomically. Remove all of the hacks to work around the fact that it didn't before.
Added the ability to have the batching delayed to wait for more messages.