Tests and fix for #782.
Merge pull request #1073 from bitovi/debounce-context-782

Fix can.debounce and can.throttle context