fixup adding default_actions to action
fixup adding default_actions to action

if you specify a default_action we don't inherit from the superclass and
initialize to an empty array if we have to (otherwise if we inherited
from the superclass and later specified actions, we wouldn't get the
correct behavior which overrides the superclass, and behavior would
shift based on order of actions and default_action in the resource
definition).

also uses set union to eliminate dups in the (allowed) actions and
eliminates dups in both cases.

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