Added pruntSplits method to RDD.

One thing I am not entirely sure yet is whether to override getPreferredLocations.