implement streaming helpers to for/map/grep/reduce all lines in a file

This is a first sketch to suss out things we want or do not want.

@ingydotnet , @frioux , @shadowcat-mst : Please comment and bikeshed.