Issue #2896721 by Sam152, Wim Leers: Remove the concept of decorated states/transitions from worfklow type plugins. (cherry picked from commit 42a76cf1)