Issue #23 and other additions

1. Change reduceByWindow to 4-arity version (to use Java functions)
2. Add other stream functions (count, mapToPair, textFileStream, saveAsTextFiles