Add in handling to turn off device

Debounce the power button, and pull the pin low after a short period.