removed merge file
more docs
whitespace
brought back history
Added history object back to stateful.
Updated JSDocs for history class
Added a first pass at transitions. damned sloppy though.
Changed up the transitions implementation
Improved and commented disptacher and transitions.
Added transitions into the button test.
refreshed jsdocs
Added the on() method. This is used to handle messages from dispatch().
Rewrote transitions to work with on().
Improved tests. added nested tests.
removed unused var. updated docs
Cleaning up old files
edited readme
added a check for infinite loops in setCurrentState().
Updated docs