Astyle formatting: also put opening brackets inline with functions
Merge pull request #594 from stefanbeller/master

Fix compile warnings, introduce TabList::current_is_valid
Merge pull request #595 from stefanbeller/astyle

Tweak coding style again.
Fix static code analysis warnings

[src/MenuInventory.cpp:798]: (style) The scope of the variable 'bonus_counter' can be reduced.
[src/MenuInventory.cpp:800]: (style) The scope of the variable 'item_id' can be reduced.
[src/MenuInventory.cpp:868]: (style) The scope of the variable 'item_id' can be reduced.
[src/MenuNPCActions.cpp:47]: (performance) Variable 'id' is assigned in constructor body. Consider performing initialization in initialization list