Sync with upstream / whitespace cleanup
Cycle through the menu once we reach the begin/end
Centralize global variables exported from main program code
Add "shutdown" menu entry if no switch is configured as "shutdown" action.

This might be the case if f.e. there is one switch only,
so you can configure the short press to the soft poti
and the long press to open the menu.
New switch action: Toggle bluetooth on/off
Auto-Zero torque measurement at startup. Do not put load on pedals when powering system up!
Made brake configurable
Brake supported by default for backward compatibility :)
Show undervoltage shutdown message for at least one second
Document what BMP085 is useful for
replaced power_poti_max with power_max at some places where it was actually misplaced and caused problems(in torque mode power_poti_max is a percentage, not a power!)
Move switch actions to separate file

This is needed so we don't break the APC (configurator)
when we extend the switch actions.

Also the action definitions just don't belong in config.h