Fix reporting of PySpark doctest failures.
Fetch fewer objects in PySpark's take() method.
Remove unnecessary doctest __main__ methods.
Merge pull request #445 from JoshRosen/pyspark_fixes

Fix exit status in PySpark unit tests; fix/optimize PySpark's RDD.take()
Fix failing test
Small fix to test for distinct
Merge branch 'mesos'