Destroys the inline text field when it is released, preventing a memory leak as noted in #935.
Fixes a memory leak in SC.Event that failed to clear out cached event listeners.