Major reformatting

I want to introduce some changes to the firmware, but had problems
reading the source code so I reformatted it. The used command line is:
    astyle --style=1tbs --indent=spaces=4 --indent-classes
    --indent-labels --indent-preprocessor --indent-col1-comments
    --min-conditional-indent=0 --pad-oper --pad-header --unpad-paren
    --align-pointer=name --align-reference=name --break-closing-brackets
    --convert-tabs --max-code-length=100 --mode=c

This commit also changes the line endings of "DecodeKeys.h" from \r to
\n.