Add mapPartitions() method to RDD for API consistency.
Update Rd file and add a test case for mapPartitions.
Merge pull request #80 from sun-rui/master

Add mapPartitions() method to RDD for API consistency.