Add user overview pages; improve templates.

These user overview page shows open PRs authored by the user, plus any
open PRs that they have commented on (excluding Jenkins-only comments).

This patch also improves the templates by extracting reusable code into
Jinja macros.