Add maximum() and minimum() API to RDD.

They are named maximum() and minimum() to avoid conflict with R's max() and min() functions.