Fix can.debounce and can.throttle context

This pull request adds a test and fix for can.debounce and can.throttle using the correct context as described and fixes #782.