Added a ring buffer log target to store the last N log messages.

All messages use the same amount of space, prioritizing simplicity.
The log target can be used via log alarms and show alarms.