Changes .map to .mapToPair when using the reduceByKey functionality for
a given DStream object, since a cast to JavaPairDStream is needed
Merge pull request #26 from viksit/develop

Changes .map to .mapToPair when using the reduceByKey functionality