Generic State Change events

I added transition:from and transition:to events to allow a view to be re rendered at all state change events without having to bind to each possible event