Various optimizations to IO::Path.contents.
Various optimizations to IO::Path.contents.

Eliminate duplicate application of $test on MoarVM; probably just an
accident in porting. Then do a range of other optimizations. Cuts the
time taken to less than half of what it was.

dankogai/rakudo,teodozjan/rakudo,MasterDuke17/rakudo,samcv/rakudo,ungrim97/rakudo,salortiz/rakudo,tony-o/rakudo,ugexe/rakudo,teodozjan/rakudo,Gnouc/rakudo,ab5tract/rakudo,cygx/rakudo,softmoth/rakudo,jonathanstowe/rakudo,azawawi/rakudo,laben/rakudo,Leont/rakudo,nbrown/rakudo,tony-o/deb-rakudodaily,samcv/rakudo,tony-o/deb-rakudodaily,cygx/rakudo,tbrowder/rakudo,raydiak/rakudo,zostay/rakudo,Gnouc/rakudo,zhuomingliang/rakudo,rakudo/rakudo,zostay/rakudo,niner/rakudo,ab5tract/rakudo,cygx/rakudo,sjn/rakudo,cygx/rakudo,b2gills/rakudo,ungrim97/rakudo,ungrim97/rakudo,labster/rakudo,paultcochrane/rakudo,tony-o/deb-rakudodaily,rakudo/rakudo,labster/rakudo,lucasbuchala/rakudo,azawawi/rakudo,b2gills/rakudo,nunorc/rakudo,cognominal/rakudo,teodozjan/rakudo,samcv/rakudo,cognominal/rakudo,raydiak/rakudo,azawawi/rakudo,ugexe/rakudo,usev6/rakudo,salortiz/rakudo,retupmoca/rakudo,nunorc/rakudo,labster/rakudo,paultcochrane/rakudo,nbrown/rakudo,lucasbuchala/rakudo,skids/rakudo,dankogai/rakudo,awwaiid/rakudo,awwaiid/rakudo,Leont/rakudo,sjn/rakudo,laben/rakudo,zostay/rakudo,dankogai/rakudo,retupmoca/rakudo,azawawi/rakudo,niner/rakudo,jonathanstowe/rakudo,softmoth/rakudo,ugexe/rakudo,tony-o/rakudo,MasterDuke17/rakudo,LLFourn/rakudo,salortiz/rakudo,skids/rakudo,tony-o/deb-rakudodaily,Gnouc/rakudo,MasterDuke17/rakudo,tbrowder/rakudo,ab5tract/rakudo,ungrim97/rakudo,nunorc/rakudo,lucasbuchala/rakudo,lucasbuchala/rakudo,Leont/rakudo,awwaiid/rakudo,LLFourn/rakudo,tony-o/deb-rakudodaily,skids/rakudo,dankogai/rakudo,samcv/rakudo,tbrowder/rakudo,tony-o/rakudo,sergot/rakudo,nbrown/rakudo,laben/rakudo,sjn/rakudo,jonathanstowe/rakudo,Leont/rakudo,LLFourn/rakudo,zhuomingliang/rakudo,Gnouc/rakudo,retupmoca/rakudo,tbrowder/rakudo,ugexe/rakudo,b2gills/rakudo,salortiz/rakudo,niner/rakudo,retupmoca/rakudo,labster/rakudo,usev6/rakudo,sergot/rakudo,jonathanstowe/rakudo,ab5tract/rakudo,tony-o/rakudo,labster/rakudo,samcv/rakudo,Gnouc/rakudo,zhuomingliang/rakudo,zostay/rakudo,usev6/rakudo,softmoth/rakudo,teodozjan/rakudo,MasterDuke17/rakudo,raydiak/rakudo,ab5tract/rakudo,softmoth/rakudo,skids/rakudo,LLFourn/rakudo,salortiz/rakudo,sjn/rakudo,tony-o/rakudo,lucasbuchala/rakudo,cognominal/rakudo,ugexe/rakudo,laben/rakudo,skids/rakudo,MasterDuke17/rakudo,sergot/rakudo,niner/rakudo,labster/rakudo,nunorc/rakudo,b2gills/rakudo,sjn/rakudo,azawawi/rakudo,Gnouc/rakudo,rakudo/rakudo,nbrown/rakudo,salortiz/rakudo,raydiak/rakudo,paultcochrane/rakudo,rakudo/rakudo,awwaiid/rakudo,paultcochrane/rakudo,ungrim97/rakudo,usev6/rakudo,tbrowder/rakudo,cognominal/rakudo,dankogai/rakudo,b2gills/rakudo,zhuomingliang/rakudo,nbrown/rakudo,tony-o/deb-rakudodaily,tbrowder/rakudo,usev6/rakudo,nbrown/rakudo,rakudo/rakudo,cygx/rakudo,sergot/rakudo,tony-o/deb-rakudodaily,cognominal/rakudo,awwaiid/rakudo,MasterDuke17/rakudo,rakudo/rakudo,jonathanstowe/rakudo,softmoth/rakudo,LLFourn/rakudo,tony-o/rakudo,paultcochrane/rakudo