Implement basic system log (untested)
Add an option to log immediately to flash, and implement ringbuffer staging so we don't have to do a superfluous memcpy.
Implement basic logging feature, log whenever the controller is reset.
:
Implement log reading and fix some bugs in the flash_queue update (tested with wrapping of sensor event log)
Critical logs were being tagged as debug.
Merge branch 'debug-log' into autonomous-reporting

Conflicts:
	momo_modules/mainboard/src/mib/controller_mib_feature.c
Add some logging, improve factory_reset