mboxevent: cleaner QuotaWithin check

We have this nice helpful function quota_is_overquota(), which does the
right thing, let's use it.
mboxevent: maybe generate multiple QuotaWithin

because it's possible for multiple resources to drop below a limit at
the same time.
mboxevent: fix memleak in _enabled_for_mailbox