SPARK-1170 Added histogram(buckets) to pyspark and not histogram(noOfBuckets).

That can be a part 2 of this PR. If we can have min and max functions on a RDD of double, that would be good.