Bug 975641 Add debounce helper
Merge pull request #1408 from jsantell/debounce

Fix Bug 975641 Add debounce helper r=@erikvold