Implemented button-controlled hibernation

- pressing and holding button for more than 1s toggles hibernation
- during hibernation, time is maintained, radio/ADC/accelerometer/flash
are all off
- cleaned up blinking routines and flash erase on boot