627 - add some useful named scopes to product.
627 - add some useful named scopes to product.

I've added some which are useful in general code and in search filtering

:master_price_between  = selects price in a {low,high} range

:taxons_id_in_tree     = all products in a taxon's tree

:taxons_id_in_tree_any = all products in a set of taxon trees

:with_property_value   = rewritten (and speeded up) to demonstrate a searchlogic v2 technique

:with_property         = sets up context for filtering by a specific property type - actual value testing will need to be done in another scope

:with_variant_options  = sets up context for testing options on a product's variants

:with_option           = sets up testing for a particular option on a product's variants - actual value testing will need to be done in another scope

See lib/product_filters.rb for examples of use

[#627 state:resolved milestone:0.8.99]

builtbybuffalo/spree,bonobos/solidus,yiqing95/spree,devilcoders/solidus,JuandGirald/spree,mindvolt/spree,athal7/solidus,freerunningtech/spree,edgward/spree,sanjay1185/mystore,azclick/spree,archSeer/spree,vinayvinsol/spree,ramkumar-kr/spree,jspizziri/spree,ramkumar-kr/spree,orenf/spree,codesavvy/sandbox,radarseesradar/spree,tesserakt/clean_spree,carlesjove/spree,moneyspyder/spree,pervino/spree,ahmetabdi/spree,reidblomquist/spree,Arpsara/solidus,Migweld/spree,miyazawatomoka/spree,piousbox/spree,reinaris/spree,kewaunited/spree,athal7/solidus,pronix/kenigtorg,radarseesradar/spree,jordan-brough/solidus,Engeltj/spree,vcavallo/spree,TimurTarasenko/spree,Machpowersystems/spree_mach,caiqinghua/spree,Kagetsuki/spree,ckk-scratch/solidus,piousbox/spree,sliaquat/spree,patdec/spree,nooysters/spree,reinaris/spree,jaspreet21anand/spree,softr8/spree,athal7/solidus,robodisco/spree,orenf/spree,tesserakt/clean_spree,dandanwei/spree,bricesanchez/spree,DynamoMTL/spree,APohio/spree,karlitxo/spree,pjmj777/spree,Hawaiideveloper/shoppingcart,jeffboulet/spree,surfdome/spree,lsirivong/solidus,yushine/spree,azranel/spree,hoanghiep90/spree,alejandromangione/spree,pervino/solidus,welitonfreitas/spree,SadTreeFriends/spree,Senjai/spree,vcavallo/spree,ayb/spree,jspizziri/spree,groundctrl/spree,abhishekjain16/spree,JDutil/spree,KMikhaylovCTG/spree,project-eutopia/spree,firman/spree,pulkit21/spree,miyazawatomoka/spree,grzlus/spree,cutefrank/spree,progsri/spree,scottcrawford03/solidus,jsurdilla/solidus,hoanghiep90/spree,urimikhli/spree,vinayvinsol/spree,odk211/spree,alvinjean/spree,kewaunited/spree,welitonfreitas/spree,maybii/spree,Hates/spree,dotandbo/spree,carlesjove/spree,jhawthorn/spree,gautamsawhney/spree,urimikhli/spree,lyzxsc/spree,reidblomquist/spree,berkes/spree,rajeevriitm/spree,joanblake/spree,pervino/spree,alejandromangione/spree,jspizziri/spree,APohio/spree,CiscoCloud/spree,ckk-scratch/solidus,vmatekole/spree,JuandGirald/spree,vmatekole/spree,karlitxo/spree,FadliKun/spree,TrialGuides/spree,dandanwei/spree,shaywood2/spree,hoanghiep90/spree,LBRapid/spree,dafontaine/spree,project-eutopia/spree,hifly/spree,brchristian/spree,sunny2601/spree,piousbox/spree,Senjai/solidus,Ropeney/spree,firman/spree,derekluo/spree,priyank-gupta/spree,PhoenixTeam/spree_phoenix,TimurTarasenko/spree,Migweld/spree,Kagetsuki/spree,jordan-brough/solidus,zaeznet/spree,StemboltHQ/spree,yiqing95/spree,mindvolt/spree,Kagetsuki/spree,Kagetsuki/spree,pjmj777/spree,wolfieorama/spree,omarsar/spree,rajeevriitm/spree,trigrass2/spree,azclick/spree,pronix/kenigtorg,grzlus/spree,reinaris/spree,Mayvenn/spree,JDutil/spree,TimurTarasenko/spree,CJMrozek/spree,berkes/spree,vinayvinsol/spree,pervino/spree,Boomkat/spree,ckk-scratch/solidus,jasonfb/spree,reidblomquist/spree,imella/spree,beni55/spree,Migweld/spree,moneyspyder/spree,Engeltj/spree,jasonfb/spree,wolfieorama/spree,patdec/spree,vcavallo/spree,yiqing95/spree,welitonfreitas/spree,hifly/spree,miyazawatomoka/spree,bonobos/solidus,DynamoMTL/spree,vmatekole/spree,agient/agientstorefront,scottcrawford03/solidus,locomotivapro/spree,ramkumar-kr/spree,mleglise/spree,jimblesm/spree,tailic/spree,camelmasa/spree,FadliKun/spree,abhishekjain16/spree,lsirivong/solidus,vcavallo/spree,jasonfb/spree,jaspreet21anand/spree,caiqinghua/spree,gautamsawhney/spree,calvinl/spree,jasonfb/spree,pjmj777/spree,jhawthorn/spree,Hawaiideveloper/shoppingcart,sunny2601/spree,gotoAndBliss/True-Jersey,quentinuys/spree,orenf/spree,locomotivapro/spree,bryanmtl/spree_clear2pay,thogg4/spree,DarkoP/spree,jhawthorn/spree,Lostmyname/spree,rbngzlv/spree,locomotivapro/spree,lzcabrera/spree-1-3-stable,groundctrl/spree,thogg4/spree,alvinjean/spree,calvinl/spree,camelmasa/spree,ckk-scratch/solidus,dafontaine/spree,shekibobo/spree,sfcgeorge/spree,patdec/spree,njerrywerry/spree,rajeevriitm/spree,pervino/solidus,reinaris/spree,archSeer/spree,edgward/spree,vivekamn/spree,jsurdilla/solidus,robodisco/spree,Mayvenn/spree,knuepwebdev/FloatTubeRodHolders,welitonfreitas/spree,josephholsten/plain-sight,CJMrozek/spree,mindvolt/spree,delphsoft/spree-store-ballchair,cutefrank/spree,xuewenfei/solidus,SadTreeFriends/spree,adaddeo/spree,alepore/spree,dafontaine/spree,keatonrow/spree,NerdsvilleCEO/spree,judaro13/spree-fork,Engeltj/spree,woboinc/spree,azclick/spree,TimurTarasenko/spree,DarkoP/spree,rajeevriitm/spree,biagidp/spree,net2b/spree,CJMrozek/spree,watg/spree,gotoAndBliss/True-Jersey,APohio/spree,bonobos/solidus,berkes/spree,jhnsntmthy/tgs_store,alvinjean/spree,Lostmyname/spree,abhishekjain16/spree,FadliKun/spree,bjornlinder/Spree,nooysters/spree,yomishra/pce,Antdesk/karpal-spree,adaddeo/spree,fahidnasir/spree,priyank-gupta/spree,lzcabrera/spree-1-3-stable,xuewenfei/solidus,Hates/spree,CJMrozek/spree,jaspreet21anand/spree,watg/spree,sliaquat/spree,agient/agientstorefront,rbngzlv/spree,ujai/spree,forkata/solidus,rakibulislam/spree,raow/spree,piousbox/spree,net2b/spree,ujai/spree,fahidnasir/spree,builtbybuffalo/spree,softr8/spree,gregoryrikson/spree-sample,ramkumar-kr/spree,pervino/solidus,quentinuys/spree,alvinjean/spree,watg/spree,Lostmyname/spree,rakibulislam/spree,alejandromangione/spree,HealthWave/spree,StemboltHQ/spree,madetech/spree,jaspreet21anand/spree,volpejoaquin/spree,shioyama/spree,richardnuno/solidus,jimblesm/spree,useiichi/spree,madetech/spree,jordan-brough/spree,LBRapid/spree,trigrass2/spree,Ropeney/spree,vinsol/spree,alejandromangione/spree,priyank-gupta/spree,zaeznet/spree,archSeer/spree,siddharth28/spree,pervino/spree,nooysters/spree,alepore/spree,kitwalker12/spree,derekluo/spree,moneyspyder/spree,tesserakt/clean_spree,kewaunited/spree,forkata/solidus,gregoryrikson/spree-sample,tancnle/spree,kewaunited/spree,sunny2601/spree,vinayvinsol/spree,maybii/spree,wolfieorama/spree,gautamsawhney/spree,tomash/spree,miyazawatomoka/spree,jparr/spree,Senjai/solidus,jhnsntmthy/tgs_store,keatonrow/spree,tomash/spree,edgward/spree,brchristian/spree,TrialGuides/spree,judaro13/spree-fork,TrialGuides/spree,trigrass2/spree,lyzxsc/spree,sliaquat/spree,PhoenixTeam/spree_phoenix,Senjai/spree,robodisco/spree,tancnle/spree,raow/spree,jimblesm/spree,gregoryrikson/spree-sample,jspizziri/spree,vulk/spree,richardnuno/solidus,woboinc/spree,softr8/spree,JuandGirald/spree,joanblake/spree,DarkoP/spree,caiqinghua/spree,moneyspyder/spree,lsirivong/spree,builtbybuffalo/spree,softr8/spree,patdec/spree,SadTreeFriends/spree,thogg4/spree,mleglise/spree,KMikhaylovCTG/spree,progsri/spree,beni55/spree,joanblake/spree,delphsoft/spree-store-ballchair,shaywood2/spree,Hawaiideveloper/shoppingcart,locomotivapro/spree,SadTreeFriends/spree,groundctrl/spree,Mayvenn/spree,richardnuno/solidus,quentinuys/spree,ayb/spree,HealthWave/spree,zaeznet/spree,agient/agientstorefront,jordan-brough/spree,Nevensoft/spree,tomash/spree,dotandbo/spree,vinsol/spree,HealthWave/spree,karlitxo/spree,imella/spree,Hates/spree,xuewenfei/solidus,kitwalker12/spree,shaywood2/spree,preston-scott/spree,groundctrl/spree,njerrywerry/spree,berkes/spree,delphsoft/spree-store-ballchair,bricesanchez/spree,hifly/spree,codesavvy/sandbox,Arpsara/solidus,shaywood2/spree,sliaquat/spree,nooysters/spree,Nevensoft/spree,tesserakt/clean_spree,dandanwei/spree,tailic/spree,NerdsvilleCEO/spree,derekluo/spree,pulkit21/spree,biagidp/spree,Machpowersystems/spree_mach,pervino/solidus,ayb/spree,degica/spree,vulk/spree,jhnsntmthy/tgs_store,njerrywerry/spree,shekibobo/spree,azranel/spree,siddharth28/spree,vinsol/spree,kitwalker12/spree,CiscoCloud/spree,dandanwei/spree,derekluo/spree,woboinc/spree,sideci-sample/sideci-sample-spree,JDutil/spree,Antdesk/karpal-spree,jparr/spree,DynamoMTL/spree,urimikhli/spree,hifly/spree,project-eutopia/spree,firman/spree,assembledbrands/spree,vulk/spree,azclick/spree,beni55/spree,Boomkat/spree,beni55/spree,richardnuno/solidus,abhishekjain16/spree,yushine/spree,builtbybuffalo/spree,Migweld/spree,sideci-sample/sideci-sample-spree,vulk/spree,tomash/spree,PhoenixTeam/spree_phoenix,Engeltj/spree,sfcgeorge/spree,codesavvy/sandbox,madetech/spree,progsri/spree,cutefrank/spree,Boomkat/spree,CiscoCloud/spree,raow/spree,siddharth28/spree,ujai/spree,priyank-gupta/spree,joanblake/spree,degica/spree,keatonrow/spree,jordan-brough/solidus,surfdome/spree,camelmasa/spree,DynamoMTL/spree,useiichi/spree,robodisco/spree,fahidnasir/spree,yushine/spree,siddharth28/spree,zamiang/spree,odk211/spree,yomishra/pce,adaddeo/spree,useiichi/spree,tailic/spree,gautamsawhney/spree,sfcgeorge/spree,adaddeo/spree,agient/agientstorefront,shioyama/spree,RatioClothing/spree,omarsar/spree,calvinl/spree,devilcoders/solidus,Nevensoft/spree,jordan-brough/spree,Arpsara/solidus,sunny2601/spree,preston-scott/spree,keatonrow/spree,bjornlinder/Spree,judaro13/spree-fork,lsirivong/spree,karlitxo/spree,radarseesradar/spree,athal7/solidus,Nevensoft/spree,mleglise/spree,archSeer/spree,pulkit21/spree,odk211/spree,APohio/spree,AgilTec/spree,fahidnasir/spree,AgilTec/spree,RatioClothing/spree,odk211/spree,scottcrawford03/solidus,vmatekole/spree,pulkit21/spree,Hates/spree,reidblomquist/spree,mindvolt/spree,jsurdilla/solidus,bonobos/solidus,carlesjove/spree,jordan-brough/solidus,project-eutopia/spree,shekibobo/spree,Senjai/solidus,DarkoP/spree,volpejoaquin/spree,ayb/spree,rbngzlv/spree,jparr/spree,dotandbo/spree,knuepwebdev/FloatTubeRodHolders,useiichi/spree,CiscoCloud/spree,volpejoaquin/spree,FadliKun/spree,cutefrank/spree,azranel/spree,firman/spree,zamiang/spree,lzcabrera/spree-1-3-stable,LBRapid/spree,Ropeney/spree,Ropeney/spree,Senjai/solidus,jsurdilla/solidus,surfdome/spree,orenf/spree,net2b/spree,hoanghiep90/spree,yomishra/pce,Lostmyname/spree,devilcoders/solidus,azranel/spree,lsirivong/solidus,freerunningtech/spree,grzlus/spree,AgilTec/spree,Antdesk/karpal-spree,trigrass2/spree,josephholsten/plain-sight,biagidp/spree,omarsar/spree,delphsoft/spree-store-ballchair,bricesanchez/spree,tancnle/spree,xuewenfei/solidus,wolfieorama/spree,lsirivong/solidus,assembledbrands/spree,sfcgeorge/spree,rbngzlv/spree,alepore/spree,assembledbrands/spree,zamiang/spree,mleglise/spree,lyzxsc/spree,maybii/spree,RatioClothing/spree,thogg4/spree,jparr/spree,ahmetabdi/spree,rakibulislam/spree,JDutil/spree,codesavvy/sandbox,ahmetabdi/spree,grzlus/solidus,Machpowersystems/spree_mach,shekibobo/spree,net2b/spree,surfdome/spree,PhoenixTeam/spree_phoenix,gregoryrikson/spree-sample,forkata/solidus,ahmetabdi/spree,raow/spree,knuepwebdev/FloatTubeRodHolders,omarsar/spree,rakibulislam/spree,KMikhaylovCTG/spree,caiqinghua/spree,StemboltHQ/spree,jimblesm/spree,scottcrawford03/solidus,grzlus/spree,zamiang/spree,KMikhaylovCTG/spree,JuandGirald/spree,radarseesradar/spree,Mayvenn/spree,lsirivong/spree,sideci-sample/sideci-sample-spree,jeffboulet/spree,lsirivong/spree,degica/spree,grzlus/solidus,yiqing95/spree,jeffboulet/spree,grzlus/solidus,shioyama/spree,Boomkat/spree,njerrywerry/spree,tancnle/spree,devilcoders/solidus,yushine/spree,grzlus/solidus,progsri/spree,volpejoaquin/spree,Arpsara/solidus,edgward/spree,Senjai/spree,TrialGuides/spree,AgilTec/spree,brchristian/spree,madetech/spree,imella/spree,lyzxsc/spree,forkata/solidus,brchristian/spree,camelmasa/spree,zaeznet/spree,NerdsvilleCEO/spree,dafontaine/spree,maybii/spree,carlesjove/spree,vinsol/spree,quentinuys/spree,jeffboulet/spree,calvinl/spree,vivekamn/spree,dotandbo/spree,freerunningtech/spree,Hawaiideveloper/shoppingcart,NerdsvilleCEO/spree,bjornlinder/Spree