Typedpipe partition

Addresses https://github.com/twitter/scalding/issues/986