implement quacreduce

Includes map-reduce with shell pipelines and Python class, but not SLURM interface (that's issue #33).