[CHEF-2819] fixes for Chef::ShellOut::Windows in 0.10.6
[CHEF-2819] fixes for Chef::ShellOut::Windows in 0.10.6

* smart resolution of any file with extension in %PATHEXT%
* ensure *.bat and *.cmd files are executed under `cmd /c`
* ensure STDIN is *also* redirected as many programs (ie xcopy) will fail
silently if only STDOUT is

joyent/chef,onlyhavecans/chef,gene1wood/chef,faspl/chef,cmluciano/chef,chef/chef,askl56/chef,ranjib/chef,b002368/chef-repo,BackSlasher/chef,joemiller/chef,ccope/chef,GabKlein/chef-merged,adamleff/chef,joyent/chef,docwhat/chef,sideci-sample/sideci-sample-chef,natewalck/chef,karthikrev/chef,jagdeesh109/chef,jmhardison/chef,andrewpsp/chef,mattray/chef,tomdoherty/chef,mal/chef,nellshamrell/chef,davestarling/chef,sometimesfood/chef,zuazo-forks/chef,baberthal/chef,danielsdeleo/seth,ekometti/chef,malisettirammurthy/chef,ktpan/chef-play,ckaushik/chef,mikedodge04/chef,custora/chef,nguyen-tien-mulodo/chef,sysbot/chef,Ppjet6/chef,custora/chef,sideci-sample/sideci-sample-chef,higanworks/chef,nicklv/chef,kaznishi/chef,nathwill/chef,skmichaelson/chef,coderanger/chef,ktpan/chef-play,mattray/chef,webframp/chef,gsaslis/chef,joyent/chef,martinisoft/chef,OpSitters/chef,cachamber/chef,strangelittlemonkey/chef,ranjib/chef,Kast0rTr0y/chef,gene1wood/chef,kaznishi/chef,custora/chef,gsaslis/chef,criteo-forks/chef,mikedodge04/chef,cmluciano/chef,AndyBoucher/Chef-Testing,pburkholder/chef,oclaussen/chef,tomdoherty/chef,ShadySQL/chef-merged,zuazo-forks/chef,ccope/chef,acaiafa/chef,sysbot/chef,evan2645/chef,acaiafa/chef,ChaosCloud/chef,mikefaille/chef,nellshamrell/chef,webframp/chef,brettcave/chef,3dinfluence/chef,circleback/chef,jimmymccrory/chef,EasonYi/chef,Kast0rTr0y/chef,nalingarg2/chef-1,cachamber/chef,mikefaille/chef,DeWaRs1206/chef,kaznishi/chef,nellshamrell/chef,erkolson/chef,martinb3/chef,sanditiffin/chef,polamjag/chef,nicklv/chef,MichaelPereira/chef,cgvarela/chef,smurawski/chef,3dinfluence/chef,clintoncwolfe/chef,AndyBoucher/Chef-Testing,mattray/chef,nsdavidson/chef,nalingarg2/chef-1,strangelittlemonkey/chef,ccope/chef,mikedodge04/chef,webframp/chef,MsysTechnologiesllc/chef,sekrett/chef,malisettirammurthy/chef,patcon/chef,mwrock/chef,ekometti/chef,polamjag/chef,zuazo-forks/chef,joemiller/chef,legal90/chef,pburkholder/chef,nguyen-tien-mulodo/chef,sempervictus/chef,faspl/chef,askl56/chef,jblaine/chef,strangelittlemonkey/chef,mikefaille/chef,brettcave/chef,strangelittlemonkey/chef,3dinfluence/chef,jonlives/chef,nalingarg2/chef-1,EasonYi/chef,kamaradclimber/chef,gsaslis/chef,jk47/chef,MsysTechnologiesllc/chef,mal/chef,OpSitters/chef,h4ck3rm1k3/chef,faspl/chef,askl56/chef,jk47/chef,jagdeesh109/chef,ducthanh/chef,youngjl1/chef,ShadySQL/chef-merged,grubernaut/chef,sometimesfood/chef,sekrett/chef,ranjib/chef,permyakovsv/chef,Igorshp/chef,sekrett/chef,danielsdeleo/seth,coderanger/chef,BackSlasher/chef,ckaushik/chef,sempervictus/chef,h4ck3rm1k3/chef,higanworks/chef,MichaelPereira/chef,mikefaille/chef,Igorshp/chef,criteo-forks/chef,jordane/chef,juliandunn/chef,martinb3/chef,AndyBoucher/Chef-Testing,circleback/chef,kisoku/chef,sysbot/chef,swalberg/chef,mio-g/chef,sideci-sample/sideci-sample-chef,antonifs/chef,strangelittlemonkey/chef,jmhardison/chef,davestarling/chef,jonlives/chef,tas50/chef-1,renanvicente/chef,tbunnyman/chef,GabKlein/chef-merged,askl56/chef,gene1wood/chef,swalberg/chef,paulmooring/chef,custora/chef,jordane/chef,karthikrev/chef,jonlives/chef,mio-g/chef,sekrett/chef,ekometti/chef,sometimesfood/chef,jmhardison/chef,nguyen-tien-mulodo/chef,nguyen-tien-mulodo/chef,cgvarela/chef,jk47/chef,jblaine/chef,danielsdeleo/seth,brettcave/chef,youngjl1/chef,oclaussen/chef,juliandunn/chef,karthikrev/chef,josb/chef,Ppjet6/chef,antonifs/chef,faspl/chef,bahamas10/chef,nvwls/chef,martinisoft/chef,SUSE-Cloud/chef,jmhardison/chef,tbunnyman/chef,nellshamrell/chef,jordane/chef,kamaradclimber/chef,Ppjet6/chef,smurawski/chef,Ppjet6/chef,smurawski/chef,OpSitters/chef,ccsplit/chef,ducthanh/chef,natewalck/chef,zuazo-forks/chef,sysbot/chef,jimmymccrory/chef,acaiafa/chef,nalingarg2/chef-1,SUSE-Cloud/chef,jk47/chef,sanditiffin/chef,nathwill/chef,tomdoherty/chef,higanworks/chef,grubernaut/chef,h4ck3rm1k3/chef,jimmymccrory/chef,martinb3/chef,aaron-lane/chef,evan2645/chef,skmichaelson/chef,ccsplit/chef,Tensibai/chef,strangelittlemonkey/chef,tas50/chef-1,permyakovsv/chef,jblaine/chef,jonlives/chef,docwhat/chef,joyent/chef,jkerry/chef,joyent/chef,martinb3/chef,ckaushik/chef,nicklv/chef,lamont-granquist/chef,sideci-sample/sideci-sample-chef,criteo-forks/chef,legal90/chef,jblaine/chef,martinisoft/chef,GabKlein/chef-merged,ChaosCloud/chef,sometimesfood/chef,permyakovsv/chef,baberthal/chef,docwhat/chef,mio-g/chef,circleback/chef,kisoku/chef,ducthanh/chef,nathwill/chef,webframp/chef,zshuo/chef,bahamas10/chef,DeWaRs1206/chef,nsdavidson/chef,jblaine/chef,jordane/chef,nathwill/chef,legal90/chef,renanvicente/chef,sysbot/chef,cgvarela/chef,chef/chef,ChaosCloud/chef,youngjl1/chef,erkolson/chef,Ppjet6/chef,brettcave/chef,custora/chef,robmul/chef,grubernaut/chef,adamleff/chef,jimmymccrory/chef,robmul/chef,mal/chef,mio-g/chef,bahamas10/chef,tbunnyman/chef,b002368/chef-repo,ducthanh/chef,lamont-granquist/chef,mikefaille/chef,kaznishi/chef,docwhat/chef,OpSitters/chef,mattray/chef,b002368/chef-repo,jordane/chef,renanvicente/chef,gene1wood/chef,ChaosCloud/chef,nathwill/chef,MichaelPereira/chef,acaiafa/chef,jonlives/chef,oclaussen/chef,tas50/chef-1,ekometti/chef,askl56/chef,ccope/chef,pburkholder/chef,smurawski/chef,sometimesfood/chef,AndyBoucher/Chef-Testing,circleback/chef,pburkholder/chef,onlyhavecans/chef,nvwls/chef,jagdeesh109/chef,tbunnyman/chef,EasonYi/chef,nicklv/chef,kisoku/chef,Tensibai/chef,clintoncwolfe/chef,b002368/chef-repo,polamjag/chef,polamjag/chef,faspl/chef,legal90/chef,EasonYi/chef,antonifs/chef,acaiafa/chef,oclaussen/chef,someara/chef,lamont-granquist/chef,nsdavidson/chef,nellshamrell/chef,skmichaelson/chef,OpSitters/chef,lamont-granquist/chef,ccope/chef,3dinfluence/chef,swalberg/chef,paulmooring/chef,nicklv/chef,nellshamrell/chef,jmhardison/chef,Tensibai/chef,mikedodge04/chef,clintoncwolfe/chef,danielsdeleo/seth,MichaelPereira/chef,bahamas10/chef,aaron-lane/chef,kamaradclimber/chef,someara/chef,baberthal/chef,josb/chef,nsdavidson/chef,smurawski/chef,DeWaRs1206/chef,opsengine/chef,criteo-forks/chef,someara/chef,patcon/chef,malisettirammurthy/chef,ranjib/chef,davestarling/chef,malisettirammurthy/chef,aaron-lane/chef,juliandunn/chef,custora/chef,adamleff/chef,jimmymccrory/chef,nalingarg2/chef-1,evan2645/chef,tbunnyman/chef,h4ck3rm1k3/chef,robmul/chef,evan2645/chef,bahamas10/chef,jkerry/chef,onlyhavecans/chef,mal/chef,aspiers/chef,sempervictus/chef,sometimesfood/chef,skmichaelson/chef,Igorshp/chef,sekrett/chef,paulmooring/chef,swalberg/chef,acaiafa/chef,nalingarg2/chef-1,mattray/chef,skmichaelson/chef,AndyBoucher/Chef-Testing,sempervictus/chef,karthikrev/chef,tbriggs-curse/chef,onlyhavecans/chef,jaymzh/chef,Kast0rTr0y/chef,cachamber/chef,natewalck/chef,Igorshp/chef,Kast0rTr0y/chef,aspiers/chef,ShadySQL/chef-merged,coderanger/chef,cgvarela/chef,ckaushik/chef,docwhat/chef,brettcave/chef,aspiers/chef,tbriggs-curse/chef,adamleff/chef,MsysTechnologiesllc/chef,zshuo/chef,permyakovsv/chef,ranjib/chef,renanvicente/chef,natewalck/chef,jaymzh/chef,oclaussen/chef,mio-g/chef,sekrett/chef,joemiller/chef,ccsplit/chef,permyakovsv/chef,SUSE-Cloud/chef,nicklv/chef,someara/chef,swalberg/chef,cmluciano/chef,sanditiffin/chef,erkolson/chef,nsdavidson/chef,sanditiffin/chef,cachamber/chef,joemiller/chef,baberthal/chef,MichaelPereira/chef,mwrock/chef,swalberg/chef,mikedodge04/chef,askl56/chef,3dinfluence/chef,tbunnyman/chef,kaznishi/chef,DeWaRs1206/chef,renanvicente/chef,malisettirammurthy/chef,paulmooring/chef,Kast0rTr0y/chef,ChaosCloud/chef,polamjag/chef,juliandunn/chef,ShadySQL/chef-merged,lamont-granquist/chef,cgvarela/chef,youngjl1/chef,jkerry/chef,andrewpsp/chef,tbriggs-curse/chef,bahamas10/chef,opsengine/chef,antonifs/chef,andrewpsp/chef,kisoku/chef,martinb3/chef,aaron-lane/chef,clintoncwolfe/chef,martinisoft/chef,mwrock/chef,b002368/chef-repo,mikedodge04/chef,MichaelPereira/chef,jk47/chef,aspiers/chef,ccsplit/chef,nvwls/chef,tbriggs-curse/chef,joemiller/chef,nathwill/chef,paulmooring/chef,jkerry/chef,juliandunn/chef,jagdeesh109/chef,opsengine/chef,Kast0rTr0y/chef,patcon/chef,jkerry/chef,martinb3/chef,evan2645/chef,sanditiffin/chef,natewalck/chef,pburkholder/chef,zshuo/chef,ranjib/chef,brettcave/chef,ktpan/chef-play,ducthanh/chef,evan2645/chef,coderanger/chef,higanworks/chef,jkerry/chef,danielsdeleo/seth,BackSlasher/chef,youngjl1/chef,chef/chef,erkolson/chef,BackSlasher/chef,skmichaelson/chef,davestarling/chef,mio-g/chef,Igorshp/chef,andrewpsp/chef,nvwls/chef,b002368/chef-repo,nvwls/chef,erkolson/chef,grubernaut/chef,renanvicente/chef,smurawski/chef,adamleff/chef,zuazo-forks/chef,EasonYi/chef,tas50/chef-1,ktpan/chef-play,webframp/chef,andrewpsp/chef,kisoku/chef,aaron-lane/chef,webframp/chef,someara/chef,ktpan/chef-play,ekometti/chef,h4ck3rm1k3/chef,cmluciano/chef,malisettirammurthy/chef,opsengine/chef,davestarling/chef,legal90/chef,jimmymccrory/chef,Tensibai/chef,ccsplit/chef,sanditiffin/chef,criteo-forks/chef,gsaslis/chef,SUSE-Cloud/chef,joemiller/chef,nvwls/chef,ShadySQL/chef-merged,martinisoft/chef,AndyBoucher/Chef-Testing,josb/chef,josb/chef,zshuo/chef,zshuo/chef,tomdoherty/chef,DeWaRs1206/chef,faspl/chef,robmul/chef,clintoncwolfe/chef,andrewpsp/chef,someara/chef,Ppjet6/chef,kamaradclimber/chef,ekometti/chef,erkolson/chef,SUSE-Cloud/chef,tbriggs-curse/chef,nsdavidson/chef,Tensibai/chef,clintoncwolfe/chef,nguyen-tien-mulodo/chef,antonifs/chef,ducthanh/chef,EasonYi/chef,grubernaut/chef,tomdoherty/chef,jmhardison/chef,jaymzh/chef,gsaslis/chef,baberthal/chef,cmluciano/chef,jk47/chef,mwrock/chef,sempervictus/chef,ckaushik/chef,grubernaut/chef,paulmooring/chef,ckaushik/chef,cachamber/chef,ktpan/chef-play,ChaosCloud/chef,josb/chef,sempervictus/chef,antonifs/chef,BackSlasher/chef,jonlives/chef,BackSlasher/chef,mikefaille/chef,ccsplit/chef,josb/chef,3dinfluence/chef,adamleff/chef,patcon/chef,sideci-sample/sideci-sample-chef,cgvarela/chef,Igorshp/chef,natewalck/chef,OpSitters/chef,aaron-lane/chef,karthikrev/chef,jblaine/chef,pburkholder/chef,oclaussen/chef,nguyen-tien-mulodo/chef,jaymzh/chef,onlyhavecans/chef,karthikrev/chef,docwhat/chef,patcon/chef,criteo-forks/chef,robmul/chef,youngjl1/chef,zuazo-forks/chef,MsysTechnologiesllc/chef,patcon/chef,aspiers/chef,polamjag/chef,mal/chef,baberthal/chef,SUSE-Cloud/chef,h4ck3rm1k3/chef,legal90/chef,higanworks/chef,jagdeesh109/chef,circleback/chef,opsengine/chef,kaznishi/chef,tbriggs-curse/chef,robmul/chef,chef/chef,mal/chef,jagdeesh109/chef,zshuo/chef,DeWaRs1206/chef,lamont-granquist/chef,gsaslis/chef,cachamber/chef,circleback/chef,GabKlein/chef-merged,onlyhavecans/chef,permyakovsv/chef