Added tests for multiple transitions out from a state on the same event
Added a method to query state machines for possible transitions out from a state
Added a negative test
Made sure fromAll transitions are handled too
Added documentation for getPossibleTransitions
Extracted an interface for transition so that the implementation doesn't leak
Merge branch 'traverse'