Add Workspace::onWillDestroyPaneItem

It is needed by the autosave package which previously relied on DOM
bubbling to coalesce events from various panes.