added many new stream functions:

- improved reduce
- scan
- min
- max
- any
- all
- none
- first

and the matching tests. all tests succeed.