Added 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.

Conflicts should be resolved. Also, I will create another pull request for the update to gh-pages.