SPARK-1509: add zipWithIndex zipWithUniqueId methods to java api