backblink/wavewake: rewrite sections, bugfixes, other stuff

- rewrote portions of backblink and wavewake.

- added ability to automatically set unique backblink patterns
based on autodetected hue of front notification led color.

- also fixed a bug where touchkey hardware was left powered on
during persistent touchwake (aka slide2wake).