Mark partitioner, name, and generator field in RDD as @transient.

As part of the effort to reduce serialized task size.