Added Statechart.createStateTree

createStateTree essentially transforms Statechart._all_states to a tree-like
structure and returns it, including some data about each state such as whether
or not it is concurrent, whether or not it is an initial substate, and any
events the state responds to.