refactor: pipeline  and stage... context.addError calls from Stage.
converts contexts with invalid type.
use callbacks instead emits(to avoid 'too many emit subscribers' node.js warning);
+ tests