Initialize switch variables
Add script used for the code reformat

It's the same style we use since the initial git commit.
Bring code in line with the common style of the project

(if you diff with 'Ignore space change',
 the real changes are actually quite small)
Whitespace fixes in the header files
Fix style of display.cpp

Manually skipped around the parts in display_nokia_update()
since the automatic reformat broken.
Don't hardcode the number of torque values

Instead use a common, immutable integer.

Note: If this doesn't compile using the Arudino IDE,
we should replace the 'const int' with a #define.
Refactor switch handling code

Now we have a generic, local function
to handle switch button states.

I didn't touch the switch handling logic itself yet.

Nice side effect: Code size is down by one kb.
Simplify _handle_switch() a little

No need to reset 'state->first_press_time'
once the 'long press' action triggered.

Instead check the state->action_enabled flag, too.
This ensures we don't trigger the long press action twice much better.
_handle_switch(): Also disable 'action' for the short press

Just added for safety.
-correction in torque calculation
-mase support in control_mode_torque configurable
HRMI code: Make local functions static

Saves only 40 bytes but hey :)
Start documentation about hacking around the code
Added raw output in debug mode for "Arduino Pedelec Configurator"
updated for hardware revision 4
Bugfix: Important info screen must override all other displays
Bugfix: Software-debounce of buttons

Button has to be pushed at least for 10ms
to detect a proper button push.

Otherwise it might just be noise on the line.
Declare static (=local to file) linkage

Saves 80 bytes of code but luckily
we don't need to care for this yet ;)
Add MenuSystem library by Jon Black

License: LGPL v3
Hook in on the go menu system

The menu structure gets initialized and added
hooks to the switch handling and display routines.

No actions / display output implemented yet.
-> Not usable yet
Improve MenuSystem::back()

Let us know if we are in the root menu or not