initial implementation of states. Untested.
jshint
tests and fixes for states
tests for exit, bugs worked out
tests for repeating states, fixes to tests
updated readme for stateful events.
Update README.md
Update README.md
added try/catch around all callbacks, fixed IE