Make the batch class more testable

In order to test some of the features I'm making the measurements member available from subclasses. This will be especially handy when testing some of the metrics-librato changes coming up.