Subbatching batchwriter

This moves the subbatching support that @fourk wrote out from `AstyanaxWriter` and into the `BatchSplitter`.

It also has all the other yummy changes @fourk made in his emergency-fix branch and updates them to use the new configuration pattern.