Alarm zones: fix code to work if the timer overflows
	sanity checking vs a configured MAX_TIMEOUT

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
Sensor: update lamp test code to properly handle timer wrap
	simply restart the test if the timer wraps

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
updates to sensor configuration, playing with LED timings

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
Triggered sensor light color tracks zone arming
	triggered sensors in armed zones are red
	triggered sensors in disarmed zones are yellow
	added per-zone arm/disarm/status to Zone class
	eliminated armed parameter to sample()
	changed sensor class to get armed status from zoneMgr
	added an explicit function to reset sensor trigger status

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
bug: mask bits start at zero, but zones start at 1
	add conversion between mask bits and zones


Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
alarm:	new control configuration
	one pin per zone, configured in config
	they are now managed and read from a new ControlManager class
	main loop checks for changes and triggers arms/resets

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
program size: use a different DEBUG_CFG for configuration info
	which is almost never needed

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
debug output string reduction
	stop using printf and move to putchar (strings out of data)
	add new shared logTime routine
	add logging of start/end of LED test
	add separate DEBUG_EVT define for event logging

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
try to reduce memory consumption
	reduce MAX_ZONES from 8-4
	shrink trigger time from long to short

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
buffix: reversed trigger message sense

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
zone cfg: make breakage sensors their own zone

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
move zone arming from Zone to Sensor
	the stack was getting too deep (arduino sucks)
new LED use schema

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>
changes to control configuration
	specific cut-off rather than half-scale

Signed-off-by: Mark.Kampe <mark.kampe@gmail.com>