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

Tested and ready to merge.
That makes sense. Why didn't I come up with it :)