Various style improvements.

Have BatchClient batch_size be customizable. Use functools partial
and remove code duplication. Add posibility to flush out all
existing reports.

Avoid multiple threads writting on stdout simulteanously in the
pyzor script.