Add support for PageSummary badges.
Simplify CaptchaImage a little.