Merge pull request #109 from pwendell/master

Adding Java/Java Streaming versions of `repartition` with associated tests

(cherry picked from commit 4f2c9438b43cfb63f118b6b000da317d518a8577)
Signed-off-by: Reynold Xin <rxin@apache.org>