Fix Debounce example to work as described

This alters the debounce example code to toggle the LED rather than just use
the button state to set the LED state.

Fixes #293
Merge pull request #1192 from miek/debounce-fix

Fix Debounce example to work as described
small changes to the Debounce example