code style: fix braces

The whole code must follow the windows-specific style regaring braces:
* Braces must be placed even if there is one statement in block
* The '{' character must be put after new line

e.g.:
if (condition)
{
     val = expr;
}
remove inappropriate new line characters
remove unneeded braces in switch case-s & default-s
remove new line characters before "else"

in microsoft coding style, there is no new line before else-s
remove space characters at the end of the line
transform tabs to white spaces

Signed-off-by: Samuel Ghinet <sghinet@cloudbasesolutions.com>
code style: fix braces for structs, unions, enums, __try