State Machine: is now a PCL, ActiveStateMachine uses TPL dataflows instead of AsyncModule
State Machine: active state machine now uses cancellation token to stop worker task, refactored active state machine code