[BUGFIX beta] sync router.js

- Sync router.js
- Don't fire `error` actions on transitions that have already been
  aborted/redirected
- Closes #3162
Merge pull request #3658 from machty/routerjs-sync

[BUGFIX beta] sync router.js