MCC-82306. Move added state_transition methods into a decorator class

One change that may have violated the spirit of the class is to create a #transiton method to return the data member instead of creating two override methods that would simply call the StateTransition #next and #name methods.