[SPARK-2470] PEP8 fixes to PySpark

This pull request aims to resolve all outstanding PEP8 violations in PySpark.
We could accept contribution to cloudpickle. If we could reduce the changes in cloudpickle, then we can easily merge updates from upstream.