misc fixes to pattern processing

- revamped code which handles detection of loss/gain of connection.
- ‘Z’ now just sets the LED’s and turns off the pattern processing.
Alarm pattern is now 'S-O-S' in Morse code

Added generic morse code pattern handler
HatAlarm now flashes S-O-S