Some minor tweaks in the router.

Making router.navigate pass history.navigate's return value though.