[SPARK-2871] [PySpark] Add missing API

Try to bring all Java/Scala API to PySpark.
minor point - but we created `SerDeUtil` object for the SequenceFile/InputFormat stuff, maybe these Java <-> Python conversion methods can all live there instead, it's a little cleaner.