fixing postBuildEvent case sensitive error when compiling with xbuild

Avoid calling user32.dll on EditNetSpellChecker, formcommit opens

removing MonoCS compiler directives, checking runtime for mono

adding GitCommands.Utils

we should use EnvUtils.IsMonoRuntime