pipelining/runtime: Make get_item_sources/sinks take dependency edges into account
Add pipeline::then to insert ordering between otherwise unordered pipelines

Fixes #158.
Remove remnant of the pipe_segment in the pipelining implementation