Remove mailitem event handler on unload
* src/mailitem-events.cpp (invoke): Handle unload.
Thought this might fix a crash but it did not. Anyway
removing the event handler on unload and deleting it
is the right thing to do to avoid leaking it and a
ref to an unloaded mailitem.