[BUGFIX beta] sync router.js, add catch/finally to Transition

Closes #4579
Merge pull request #5343 from machty/router-sync-catch-finally

[BUGFIX beta] sync router.js, add catch/finally to Transition