Spark 3754 spark streaming file system api callable from java

This is a WIP of making the filesystem api callable for the Java version of Spark Streaming.
Cant this be made simpler, with DStream.count instead of tying in accumulators?