adds getStateHeirarchy() to StateMachine<S, E> interface in type definitions
adds getStateHeirarchy() to StateMachine<S, E> interface in type definitions

nickuraltsev/fluent-state-machine,nickuraltsev/finity,nickuraltsev/finity