[SPARK-2470] PEP8 fixes to PySpark

This pull request aims to resolve all outstanding PEP8 violations in PySpark.
OK, sounds good to me. Shall I revert all changes to cloudpickle then?