[WIP] Batching of atomic tasks

Addresses #111.
This is a simple, straightforward implementation for fixed, user specified batch sizes.
We're planning to extend it to an adaptive implementation that doubles the batch size if workers finish too fast.