Add an optional closure parameter to HadoopRDD instantiation to used when creating any local JobConfs.