Verify the previous state as part of every state transition
Merge pull request #41 from justinsb/check_state_transitions

Verify the previous state as part of every state transition