Implemented MapReduce handler, properly the fastest implementation so far even without perf. tuning.

I've combined MapReduce with Kernels as known
from GPU programming. It's much simpler to reason about
and throughput has more than doubled.
cleaned up some crap