update pyspark's takeSample
Merge pull request #2 from mengxr/SPARK-1939

update pyspark's takeSample