Add the 'batchsize' command line param.

Should end up the same as the 'cdh4' branch.