Add canceling to alerts plugins

This helps speed up shutdown if it occurs while loading alert details.
It's not _really_ needed because of the new grits_http_abort function,
but it's still nice to prevent a bunch of extra fetch attempts.

This also fixes some warnings when a download fails.