First pass at parsing json objects into statefuls
Added check for missing 'new'
added an additional small assertion
Added transitions parsing from json
improved efficiency of code used to parse json.
Updated docs
Renamed Stateful to State
Renaming stateful to state
Cleanup
Cleaning up todos. worked on dispatching.
Added resetOnEnter
Added resetOnEnter
Changed nature of currentState property
updated docs