Change state events to single event with transition info

Was thinking through the case of a function with a long timeout being in half-open state.
If, during that time, more runs are attempted, they'll be rejected. Got me thinking of how to conclude when the breaker moved from half-open to closed.

I think more generally I'd be interested in the transition then simply the new state so I changed it to a single `state` event with complete transition data.