swipely/aviator — pull request #30 by hojberg (2013-09-12 19:07:16+00:00)
Title: Collect and dispatch exit methods

Collect exit methods when traversing the matched route and call them on the next matching route.
This is useful for cleaning up previous state like setIntervals.

This is how you tell Aviator about exit methods:
```javascript
Aviator.setRoutes({
'/campaigns': {
target: CampaignsTarget,
'/': 'index',
'/add': { method: 'add', exit: 'addExit' }
}
});
```

@barnabyc @flahertyb