[SPARK-2079] Add batching in SchemaRDD.javaToPython