Migration to v0.7

As can be seen there are several rough edges. More boilerplate for simple flows, e.g. the foreach-oncomplete.

The tutorial documentation is not updated yet.
one thought: for ForeachSink the type is uninteresting after materialization, so if we could access it using a String name then it could be written inline without a type ascription; not sure whether it is worth it though