ability to cancel debounce and throttle

Additionally fix a bug where debounced item in index 0 isn't
removed unless debounce for that target/method is called again, but
then it's in index 0 and always stay there.