STREAMING-51: Add RDD type as a type parameter in JavaDStreamLike Edit (streaming/ version) 

This patch adds the JavaRDD type as a type parameter to JavaDStreamLike. That change simplifies some repeated code between JavaDStream and JavaPairDStream. The patch adds tests to verify new functionality. There is some more detail in individual commits.