Cancel debounce tasks when editor is destroyed

Fixes #65

SF
Rename "cancel" method to "detach" in Debounce

Fixes #65
Merge branch 'pr-8'