Use route caption instead of route name for document.title

It currently uses the routeInfo.name, and the caption is never used.

Very short fix that makes me able to use name for searching for routes after.