add cancel() method to throttled/debounced functions

this is very useful for complex UI interactions/animations.

closes #98