Check the type of dstream before doing reduceByKey.

If it's already of type JavaPairDStream, there's no need to map
identity PairFunction over it. Doing so causes untuple in the next step
to not work correctly
Merge pull request #31 from jogjayr/typecheck-reduceByKey

Check the type of dstream before doing reduceByKey