Added composeOpen event, addAfterSendButton function

Callbacks can be registered against composeOpen, and will be called whenever the compose window is opened. Only works for new emails, not replies. addAfterSendButton inserts an element directly after the "Send" button in a specific compose window.