Merge backout with following commits

Backed out changeset 98f0e9eadf3b (better fix on the way)

Automated merge with http://waqas.ath.cx:8000/

mod_iq: Fire sub-events for IQs directed at bare JIDs and hosts

modulemanager: Keep track of event handlers added by module:hook, and remove them on module unload

stanza_router: Don't route before firing events... waqas, is this safe?

componentmanager: Add events object to registered components if they don't already have one

(0) -1000 -300 -100 -30 -10 -7 +7 +10 +30 +100 +300 +1000 tip

mercurial