Fix to allow environment variable control of root MachineCache directory.  Tests added, but the code is pretty untestable.
Fix to allow environment variable control of root MachineCache directory.  Tests added, but the code is pretty untestable.

--HG--
extra : rebase_source : 484b6b3adaf252e2a4600f0dc101096c395ae55a

dolkensp/node.net,antiufo/NuGet2,mrward/NuGet.V2,indsoft/NuGet2,antiufo/NuGet2,zskullz/nuget,xoofx/NuGet,antiufo/NuGet2,kumavis/NuGet,mrward/nuget,chocolatey/nuget-chocolatey,chester89/nugetApi,chocolatey/nuget-chocolatey,jholovacs/NuGet,xoofx/NuGet,indsoft/NuGet2,OneGet/nuget,oliver-feng/nuget,ctaggart/nuget,anurse/NuGet,mrward/nuget,mrward/nuget,antiufo/NuGet2,GearedToWar/NuGet2,indsoft/NuGet2,themotleyfool/NuGet,xero-github/Nuget,OneGet/nuget,chester89/nugetApi,ctaggart/nuget,rikoe/nuget,zskullz/nuget,mrward/NuGet.V2,RichiCoder1/nuget-chocolatey,chocolatey/nuget-chocolatey,atheken/nuget,indsoft/NuGet2,mono/nuget,xoofx/NuGet,mono/nuget,jholovacs/NuGet,indsoft/NuGet2,jmezach/NuGet2,RichiCoder1/nuget-chocolatey,xoofx/NuGet,ctaggart/nuget,oliver-feng/nuget,indsoft/NuGet2,mrward/NuGet.V2,jmezach/NuGet2,zskullz/nuget,jmezach/NuGet2,anurse/NuGet,RichiCoder1/nuget-chocolatey,themotleyfool/NuGet,oliver-feng/nuget,mrward/nuget,GearedToWar/NuGet2,alluran/node.net,oliver-feng/nuget,alluran/node.net,mrward/NuGet.V2,dolkensp/node.net,jmezach/NuGet2,rikoe/nuget,ctaggart/nuget,oliver-feng/nuget,oliver-feng/nuget,antiufo/NuGet2,jholovacs/NuGet,OneGet/nuget,atheken/nuget,GearedToWar/NuGet2,pratikkagda/nuget,pratikkagda/nuget,themotleyfool/NuGet,GearedToWar/NuGet2,jmezach/NuGet2,jholovacs/NuGet,dolkensp/node.net,pratikkagda/nuget,zskullz/nuget,pratikkagda/nuget,mrward/NuGet.V2,kumavis/NuGet,akrisiun/NuGet,dolkensp/node.net,OneGet/nuget,jmezach/NuGet2,chocolatey/nuget-chocolatey,xoofx/NuGet,mrward/NuGet.V2,GearedToWar/NuGet2,jholovacs/NuGet,RichiCoder1/nuget-chocolatey,alluran/node.net,mono/nuget,chocolatey/nuget-chocolatey,jholovacs/NuGet,antiufo/NuGet2,RichiCoder1/nuget-chocolatey,chocolatey/nuget-chocolatey,mrward/nuget,akrisiun/NuGet,xoofx/NuGet,rikoe/nuget,pratikkagda/nuget,pratikkagda/nuget,rikoe/nuget,mono/nuget,mrward/nuget,GearedToWar/NuGet2,RichiCoder1/nuget-chocolatey,alluran/node.net