Implementation of DISCO and DIMSUM algorithms.

https://github.com/twitter/scalding/issues/826