audit: imporve revision check logic
audit: imporve revision check logic

* Check revision decrease against both stable and devel spec.
* Check revision reset only for stable spec if stable spec is available.

ryanfb/homebrew,royhodgman/homebrew,getgauge/homebrew,influxdata/homebrew,yumitsu/homebrew,feelpp/homebrew,johanhammar/homebrew,emcrisostomo/homebrew,reelsense/linuxbrew,filcab/homebrew,nandub/homebrew,ilovezfs/homebrew,gnubila-france/linuxbrew,drbenmorgan/linuxbrew,Homebrew/linuxbrew,elyscape/homebrew,apjanke/homebrew,DoomHammer/linuxbrew,sferik/homebrew,slyphon/homebrew,OJFord/homebrew,sferik/homebrew,cosmo0920/homebrew,cprecioso/homebrew,eighthave/homebrew,LinusU/homebrew,redpen-cc/homebrew,gawbul/homebrew,dongcarl/homebrew,eighthave/homebrew,BrewTestBot/homebrew,3van/homebrew,reelsense/linuxbrew,sjackman/linuxbrew,youtux/homebrew,utzig/homebrew,kodabb/homebrew,bigbes/homebrew,kevinastone/homebrew,Red54/homebrew,chadcatlett/homebrew,marcwebbie/homebrew,gawbul/homebrew,thinker0/homebrew,quantumsteve/homebrew,frodeaa/homebrew,Asuranceturix/homebrew,tschoonj/homebrew,skatsuta/homebrew,TaylorMonacelli/homebrew,tutumcloud/homebrew,yazuuchi/homebrew,ento/homebrew,muellermartin/homebrew,muellermartin/homebrew,quantumsteve/homebrew,cprecioso/homebrew,drbenmorgan/linuxbrew,Asuranceturix/homebrew,dunn/homebrew,cprecioso/homebrew,brunchboy/homebrew,drewwells/homebrew,reelsense/linuxbrew,saketkc/linuxbrew,ear/homebrew,mobileoverlord/homebrew-1,MoSal/homebrew,jamer/homebrew,tutumcloud/homebrew,mobileoverlord/homebrew-1,menivaitsi/homebrew,redpen-cc/homebrew,hongkongkiwi/homebrew,Asuranceturix/homebrew,yazuuchi/homebrew,frodeaa/homebrew,SuperNEMO-DBD/cadfaelbrew,nandub/homebrew,keith/homebrew,Red54/homebrew,bukzor/linuxbrew,yazuuchi/homebrew,ebouaziz/linuxbrew,SteveClement/homebrew,dunn/homebrew,kenips/homebrew,marcwebbie/homebrew,teslamint/homebrew,slyphon/homebrew,saketkc/linuxbrew,Homebrew/homebrew,esamson/homebrew,cosmo0920/homebrew,emcrisostomo/homebrew,reelsense/homebrew,MartinDelille/homebrew,sometimesfood/homebrew,menivaitsi/homebrew,dplarson/homebrew,dutchcoders/homebrew,kenips/homebrew,johanhammar/homebrew,jarrettmeyer/homebrew,Red54/homebrew,ralic/homebrew,scpeters/homebrew,gicmo/homebrew,chadcatlett/homebrew,DoomHammer/linuxbrew,bukzor/linuxbrew,adamliter/homebrew,reelsense/homebrew,scorphus/homebrew,totalvoidness/homebrew,menivaitsi/homebrew,kevinastone/homebrew,SuperNEMO-DBD/cadfaelbrew,liamstask/homebrew,ablyler/homebrew,polishgeeks/homebrew,ento/homebrew,booi/homebrew,josa42/homebrew,johanhammar/homebrew,jamer/homebrew,scorphus/homebrew,elgertam/homebrew,iostat/homebrew2,jarrettmeyer/homebrew,getgauge/homebrew,utzig/homebrew,royhodgman/homebrew,muellermartin/homebrew,pcottle/homebrew,dalanmiller/homebrew,gawbul/homebrew,reelsense/linuxbrew,afh/homebrew,drbenmorgan/linuxbrew,kenips/homebrew,mobileoverlord/homebrew-1,Chilledheart/homebrew,jarrettmeyer/homebrew,OJFord/homebrew,base10/homebrew,retrography/homebrew,OJFord/homebrew,ablyler/homebrew,recruit-tech/homebrew,kodabb/homebrew,sometimesfood/homebrew,optikfluffel/homebrew,youtux/homebrew,base10/homebrew,ear/homebrew,georgschoelly/homebrew,hakamadare/homebrew,lrascao/homebrew,yazuuchi/homebrew,ablyler/homebrew,polishgeeks/homebrew,elgertam/homebrew,liamstask/homebrew,dickeyxxx/homebrew,teslamint/homebrew,scpeters/homebrew,gicmo/homebrew,skinny-framework/homebrew,skinny-framework/homebrew,getgauge/homebrew,thinker0/homebrew,haihappen/homebrew,pcottle/homebrew,SteveClement/homebrew,sakra/homebrew,decors/homebrew,theeternalsw0rd/homebrew,BrewTestBot/homebrew,Homebrew/homebrew,galaxy001/homebrew,sjackman/linuxbrew,hakamadare/homebrew,base10/homebrew,skatsuta/homebrew,ento/homebrew,alebcay/homebrew,3van/homebrew,sferik/homebrew,frodeaa/homebrew,danieroux/homebrew,MartinDelille/homebrew,feelpp/homebrew,dutchcoders/homebrew,bukzor/linuxbrew,Red54/homebrew,Angeldude/linuxbrew,dplarson/homebrew,brunchboy/homebrew,afh/homebrew,Homebrew/linuxbrew,marcwebbie/homebrew,ExtremeMan/homebrew,optikfluffel/homebrew,recruit-tech/homebrew,dplarson/homebrew,joshfriend/homebrew,apjanke/homebrew,royhodgman/homebrew,adamliter/homebrew,utzig/homebrew,alebcay/homebrew,ilovezfs/homebrew,jarrettmeyer/homebrew,LinusU/homebrew,skinny-framework/homebrew,hakamadare/homebrew,haihappen/homebrew,dickeyxxx/homebrew,retrography/homebrew,michaKFromParis/homebrew-sparks,sometimesfood/homebrew,mkrapp/homebrew,bigbes/homebrew,ryanfb/homebrew,iostat/homebrew2,filcab/homebrew,jsjohnst/homebrew,dalanmiller/homebrew,AlexejK/homebrew,Homebrew/linuxbrew,jamer/homebrew,theeternalsw0rd/homebrew,redpen-cc/homebrew,muellermartin/homebrew,treyharris/homebrew,filcab/homebrew,hakamadare/homebrew,tutumcloud/homebrew,jsjohnst/homebrew,gnubila-france/linuxbrew,TaylorMonacelli/homebrew,tschoonj/homebrew,kodabb/homebrew,dongcarl/homebrew,MartinDelille/homebrew,vigo/homebrew,recruit-tech/homebrew,influxdb/homebrew,pcottle/homebrew,dickeyxxx/homebrew,ryanfb/homebrew,ralic/homebrew,pcottle/homebrew,Linuxbrew/linuxbrew,Homebrew/linuxbrew,bukzor/linuxbrew,apjanke/homebrew,esamson/homebrew,SuperNEMO-DBD/cadfaelbrew,elyscape/homebrew,adamliter/homebrew,danieroux/homebrew,AlexejK/homebrew,LinusU/homebrew,bigbes/homebrew,retrography/homebrew,jsjohnst/homebrew,danieroux/homebrew,ear/homebrew,osimola/homebrew,MoSal/homebrew,teslamint/homebrew,benjaminfrank/homebrew,skatsuta/homebrew,SteveClement/homebrew,optikfluffel/homebrew,josa42/homebrew,afh/homebrew,eighthave/homebrew,DoomHammer/linuxbrew,SteveClement/homebrew,mkrapp/homebrew,georgschoelly/homebrew,saketkc/linuxbrew,3van/homebrew,mobileoverlord/homebrew-1,georgschoelly/homebrew,hongkongkiwi/homebrew,saketkc/linuxbrew,cscetbon/homebrew,hanxue/homebrew,redpen-cc/homebrew,dunn/homebrew,utzig/homebrew,treyharris/homebrew,scorphus/homebrew,influxdata/homebrew,drewwells/homebrew,AlexejK/homebrew,drewwells/homebrew,gnubila-france/linuxbrew,galaxy001/homebrew,sferik/homebrew,cosmo0920/homebrew,totalvoidness/homebrew,kodabb/homebrew,deorth/homebrew,Chilledheart/homebrew,alebcay/homebrew,haihappen/homebrew,georgschoelly/homebrew,Chilledheart/homebrew,hanxue/homebrew,decors/homebrew,ralic/homebrew,scpeters/homebrew,influxdb/homebrew,liamstask/homebrew,slyphon/homebrew,kevinastone/homebrew,vigo/homebrew,ilovezfs/homebrew,optikfluffel/homebrew,alebcay/homebrew,michaKFromParis/homebrew-sparks,ento/homebrew,jamer/homebrew,OJFord/homebrew,gnubila-france/linuxbrew,galaxy001/homebrew,sakra/homebrew,MartinDelille/homebrew,cprecioso/homebrew,quantumsteve/homebrew,ilovezfs/homebrew,sakra/homebrew,thinker0/homebrew,filcab/homebrew,dongcarl/homebrew,brunchboy/homebrew,SuperNEMO-DBD/cadfaelbrew,slyphon/homebrew,sakra/homebrew,johanhammar/homebrew,hanxue/homebrew,dplarson/homebrew,menivaitsi/homebrew,esamson/homebrew,MoSal/homebrew,danieroux/homebrew,polishgeeks/homebrew,dericed/homebrew,ebouaziz/linuxbrew,drewwells/homebrew,ebouaziz/linuxbrew,totalvoidness/homebrew,Asuranceturix/homebrew,ablyler/homebrew,ybott/homebrew,theeternalsw0rd/homebrew,sjackman/linuxbrew,ebouaziz/linuxbrew,emcrisostomo/homebrew,treyharris/homebrew,ExtremeMan/homebrew,tschoonj/homebrew,keith/homebrew,BrewTestBot/homebrew,joshfriend/homebrew,reelsense/homebrew,polishgeeks/homebrew,vigo/homebrew,dalanmiller/homebrew,ralic/homebrew,sjackman/linuxbrew,elyscape/homebrew,gicmo/homebrew,scpeters/homebrew,influxdata/homebrew,jsjohnst/homebrew,osimola/homebrew,pcottle/homebrew,bigbes/homebrew,drbenmorgan/linuxbrew,youtux/homebrew,kevinastone/homebrew,ExtremeMan/homebrew,esamson/homebrew,cscetbon/homebrew,thinker0/homebrew,reelsense/homebrew,skatsuta/homebrew,dutchcoders/homebrew,Homebrew/homebrew,Angeldude/linuxbrew,feelpp/homebrew,quantumsteve/homebrew,emcrisostomo/homebrew,dutchcoders/homebrew,theeternalsw0rd/homebrew,Asuranceturix/homebrew,influxdata/homebrew,joshfriend/homebrew,dickeyxxx/homebrew,hongkongkiwi/homebrew,Angeldude/linuxbrew,kenips/homebrew,osimola/homebrew,brunchboy/homebrew,DoomHammer/linuxbrew,benjaminfrank/homebrew,ExtremeMan/homebrew,cosmo0920/homebrew,cscetbon/homebrew,base10/homebrew,benjaminfrank/homebrew,iostat/homebrew2,afh/homebrew,haihappen/homebrew,osimola/homebrew,BrewTestBot/homebrew,deorth/homebrew,tutumcloud/homebrew,sometimesfood/homebrew,TaylorMonacelli/homebrew,galaxy001/homebrew,decors/homebrew,Homebrew/homebrew,SteveClement/homebrew,scorphus/homebrew,elgertam/homebrew,Linuxbrew/linuxbrew,dunn/homebrew,yumitsu/homebrew,ybott/homebrew,gicmo/homebrew,elgertam/homebrew,Chilledheart/homebrew,liamstask/homebrew,dericed/homebrew,hongkongkiwi/homebrew,yumitsu/homebrew,3van/homebrew,nandub/homebrew,marcwebbie/homebrew,influxdb/homebrew,vigo/homebrew,dalanmiller/homebrew,eighthave/homebrew,josa42/homebrew,ybott/homebrew,elyscape/homebrew,lrascao/homebrew,ear/homebrew,influxdb/homebrew,frodeaa/homebrew,retrography/homebrew,treyharris/homebrew,tschoonj/homebrew,Linuxbrew/linuxbrew,michaKFromParis/homebrew-sparks,mkrapp/homebrew,lrascao/homebrew,feelpp/homebrew,Angeldude/linuxbrew,dericed/homebrew,teslamint/homebrew,hanxue/homebrew,youtux/homebrew,royhodgman/homebrew,ybott/homebrew,TaylorMonacelli/homebrew,benjaminfrank/homebrew,skinny-framework/homebrew,MoSal/homebrew,keith/homebrew,deorth/homebrew,LinusU/homebrew,Linuxbrew/linuxbrew,booi/homebrew,AlexejK/homebrew,apjanke/homebrew,adamliter/homebrew,chadcatlett/homebrew,dongcarl/homebrew,keith/homebrew,totalvoidness/homebrew,iostat/homebrew2,ryanfb/homebrew,decors/homebrew,recruit-tech/homebrew,nandub/homebrew,getgauge/homebrew,dericed/homebrew,booi/homebrew