[BUGFIX beta] sync router.js

- Sync router.js
- Don't fire `error` actions on transitions that have already been
  aborted/redirected
- Closes #3162