actorlib/structuring: add genericity to Pipeline

First and last elements of the Pipeline do not necessary have a sink and a source, sink is
then exposed only if first element has a sink and source is exposed only if last element has
a source.

Using busy signal is encouraged but not mandatory. Elements that does not implement the busy
signal will be considered to have busy = 0