Add awesome pending navigation strategy.

From https://medium.com/joys-of-javascript/4353246f4480.
It also handles loading errors and timeouts.