Add optional 'onhidetoolbar' method

Use case: as a developer, I want to add some custom behavior that will fire on my MediumEditor instance when the toolbar is hidden.

This changeset also adds a little bit of code that will clear any existing `setTimeout` function that exists when `blurFunction` is re-called.