add PreviousStepInvalidEvent and PreviousStepInvalidEventListener

Follow-up to #98 to extract some code from the main `FormFlow` class.