Initial commit
Tidy up debug statements
Correct event tests: state names are case sensitive (should they be?)
Move separator constant to be a Class variable on State.
Emit more events, verify transition sanity and do nothing on transition to same state.
remove console.log
Update readme
Handle setting default state.
Refactor out substate handling