Adds function foreach() and foreachPartition(). It might help benchmark functions.

Force evaluation functions applied to RDD with little overhead. It might be used to benchmark each functions in pipelined RDD transformations.
I agree, and I change it to save. Although I do not know if it is a good example, it is probably better than print. I do not have a better idea, either...