applyStateUpdateWithTransition

Applies a state update and optionally returns a transition. This is meant as a replacement to the standard applyStateUpdate method on StateContainer.