Added stream based transitions

Added stream based transitions into the framework. These transitions are propagated to the Workers but not yet to the modules since we do not yet have any module types which are designed to know about streams (i.e. global and stream module interfaces are not yet in the system).