Add third flag to throttle resembling debounce

[Addresses #926]
Merge pull request #1019 from brysgo/master

Add `immediate` flag to `throttle()`