CHEF-4423: implement threaded cookbook synchronization
CHEF-4423: implement threaded cookbook synchronization

This commit parallelizes cookbook synchronization (downloads) with the
threaded worker queue model used during cookbook upload.

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