util.pubsub: fix a nasty context bug, where we reference the wrong table locally.
mod_presence: be sure we pre-broadcast unavailable presences to MUCs on shutdown.