BREAKING CHANGE - updated event definition API. Arguments are now in a different order by default
tweaked transition API
fixed problem with subclasses of subclasses not inheriting certain properties from their parent
updated tests