Re-throw synchronous errors during initial transition

This fixes #9542. It depends on https://github.com/tildeio/router.js/pull/139.

I pointed bower at my router.js fork so that CI can run. I will update the PR after router.js merges.