State machine can provide results of operations.

Now state machine operations can return some data, which are provided to user via callback. To do this, I changed type of state machine. Now state machine is not dispatch_t (dispatch provides response only via upstream), it's just functor, which accepts frozen events.