[SPARK-1170] Add histogram method to Python's RDD API

Tested and ready to merge.
Do we need to return buckets always? The return value should be documented.