Now transiting to final state also raises the state changed event, made minor changes
Now transiting to final state also raises the state changed event, made minor changes

bitcraftCoLtd/finite-state-machine,bitcraftCoLtd/finite-state-machine,bitcraftCoLtd/finite-state-machine,bitcraftCoLtd/finite-state-machine,bitcraftCoLtd/finite-state-machine