win: Use the _winreg module for registry access
win: Use the _winreg module for registry access

This commit changes the Visual Studio installation path detection code to use
_winreg to find the installation path in the registry.  The previous method of
using reg.exe is preserved as a fallback for when '_winreg' cannot be imported
(for example in cygwin).

Also, remove the '_RegistryKeyExists' function since it is not used anywhere.

BUG=
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/724863002

git-svn-id: e7e1075985beda50ea81ac4472467b4f6e91fc78@2002 78cadc50-ecff-11dd-a971-7dbc132099af

svn2github/gyp,pyokagan/gyp,svn2github/gyp,svn2github/gyp,pyokagan/gyp,pyokagan/gyp,svn2github/gyp,svn2github/kgyp,svn2github/kgyp,pyokagan/gyp,pyokagan/gyp,svn2github/kgyp,svn2github/gyp,svn2github/kgyp,svn2github/kgyp