feat(client): update document title on screen transition.

* Look for h1 and h2 elements in the view. Use these to set the title.

Closes #531