Add handling for PuTTY and Cygwin NetRw configuration

As part of this, write the s:expand_win32_var, which will expand the
given Windows shell or environment variable by calling the `set`
command. (Had to write this because Vim doesn't treat
`$ProgramFiles(x86)` as a proper environment variable reference to
`%ProgramFiles(x86)%`.)