Rename event to hook event.
Change to use new hook event.
Change to events dsl and add events chain.
Add event.
Change transition to use event.
Change method call.
Make the test more robust.
Close issue #8.
Change test matrix to allow for errors.