Fix some issues for different compilers.

NOTE to VS users:
If you installed git, so it is part of your system path, then there is
no need to change anything.  If not, then, you need to edit
build_tools/autorevision.bat, and fix the PATH statement to point to where you installed git.
Fix:
C6289    Mutual exclusion over logical-OR is true.
Incorrect operator: mutual exclusion over || is always a non-zero constant.

(Make sure it is a wall, before we skip it.)
[backport fix commit 144c2e380d7a999f9012804119d32b79b37dc39c]

Fix feature creation to have the actual feature selected, and not the
first feature of the same type.
Show the pies instead of the '?' button for features (debug menu!)

Closes ticket:4166