Add a cross-platform setenv implementation.
This is a simplified version of Simon Hengel's patch for the 'base' library 
(without unsetEnv and the unix dependency). Tested on Windows and Linux.
One issue here is whether I should add a configure check for systems that don't support setenv like the unix package does.
Make sandbox commands temporarily add .cabal-sandbox/bin to $PATH.