Add support for the Serrano ping endpoint

In addition, it handles request redirects by displaying a notification
to refresh the page.

This also fixes a bug where the notifications element was not being
properly embedded in the page.