Add Win32 functionality to get foreground process
Integrate foreground process logic

Will ignore commands when the foreground process is not in the list of
monitored applications. That list currently includes "arma", "arma2",
"arma2co", "arma3" and "takeonh". Process names are case-insensitive,
and do not depend on path information.