refactors Discourse.debounce

I have found a way to bypass Ember's debounce behavior of indexing by context + function, by using indirect function call plus a fake null context - so it works exactly as we discussed here: http://meta.discourse.org/t/debounce-and-debouncepromise-clean-up/10412