More aligned with typescript version (StateSafe)
Added
- more examples in README.md
- Added patchVersion
- Added unittest
- Allow extension of existing objects to StateLogic
- Allow on- after- before- prefix event to get the transitionName(), toState(), fromState() and nextState()
Fixed
- fix __this__ error for unittest