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.
Revert "Use route caption instead of route name for document.title"

This reverts commit 56f77480df968f6ffa7bfdaed1629d7b6764d15c.