[SPARK-2010] Support for nested data in PySpark SQL

Nested collections are supported, which include array, dict, list, set, and tuple.
Seems it will not be necessary once the work on the type system finishes. In #999, those similar methods are in JsonRDD. We will move those general purpose stuff to the type system once #999 has been checked in.