wip - lego color sensor support

Initial checkin of LEGO color sensor support. This not not working code.
wip - defining color sensor bus state machine
wip - more lego color sensor support code
clear calibration data pointer when shutting down
Merge branch 'master' of github.com:tcwan/nxos-armdebug into color-sensor
Merge branch 'master' of github.com:tcwan/nxos-armdebug into color-sensor
Merge remote-tracking branch 'origin/master' into color-sensor
color detector code (wip)
color detection logic (wip)
reduced color threshold storage to 8-bit values
wip - added color value normalization and calibration routines
wip - rename routines to be more consistent with other modules
fix silly errors
added lego color sensor info display routines
cleaned up comments for doxygen
added misc support functions
added color sensor test routines (wip)
cleanup docs, made constant names more consistent
added test case for lego color (wip)