Rename 'Distribution.Compat.*' to 'Distribution.Client.Compat.*'.

Helps to disambiguate Cabal's compat modules from cabal-install's.
80-col violations.
Normalise the names of environment variables on Windows.

Thanks to Eugene Sukhodolin for the bug report.