Doc change to createStateTree

Added docs to reflect addition of transitions to createStateTree.