Add overwriteToggle event

I added an overwriteToggle event to allow for custom UI elements reacting to an overwrite mode change.
For info see discussion here https://github.com/adobe/brackets/pull/6328