Collectors: Move ignored_globs to icollect()
Collectors: Move ignored_globs to icollect()

ignored_globs is being used by collect_files() and collect_dirs().
This commit moves it to icollect() so that we do not have repetitive
code.

Fixes https://github.com/coala-analyzer/coala/issues/1547

RJ722/coala,sudheesh001/coala,sophiavanvalkenburg/coala,damngamerz/coala,vinc456/coala,sils1297/coala,arush0311/coala,djkonro/coala,JohnS-01/coala,Uran198/coala,abhiroyg/coala,scottbelden/coala,Asalle/coala,MattAllmendinger/coala,dagdaggo/coala,ManjiriBirajdar/coala,jayvdb/coala,sagark123/coala,aptrishu/coala,aptrishu/coala,refeed/coala,refeed/coala,shreyans800755/coala,lonewolf07/coala,jayvdb/coala,SanketDG/coala,meetmangukiya/coala,swatilodha/coala,impmihai/coala,tltuan/coala,djkonro/coala,yashtrivedi96/coala,sudheesh001/coala,NalinG/coala,mr-karan/coala,Balaji2198/coala,sils1297/coala,NalinG/coala,Nosferatul/coala,karansingh1559/coala,arjunsinghy96/coala,incorrectusername/coala,Uran198/coala,yashLadha/coala,CruiseDevice/coala,NalinG/coala,ayushin78/coala,impmihai/coala,NiklasMM/coala,Nosferatul/coala,MattAllmendinger/coala,AbdealiJK/coala,impmihai/coala,CruiseDevice/coala,dagdaggo/coala,stevemontana1980/coala,sils1297/coala,coala/coala,AdeshAtole/coala,djkonro/coala,yashLadha/coala,vinc456/coala,tushar-rishav/coala,kartikeys98/coala,rimacone/testing2,SanketDG/coala,ManjiriBirajdar/coala,lonewolf07/coala,tltuan/coala,swatilodha/coala,saurabhiiit/coala,netman92/coala,ayushin78/coala,Shade5/coala,arjunsinghy96/coala,NalinG/coala,karansingh1559/coala,rimacone/testing2,NalinG/coala,RJ722/coala,Nosferatul/coala,Asnelchristian/coala,aptrishu/coala,Shade5/coala,arafsheikh/coala,Asalle/coala,JohnS-01/coala,nemaniarjun/coala,jayvdb/coala,damngamerz/coala,AbdealiJK/coala,MattAllmendinger/coala,arush0311/coala,tushar-rishav/coala,yashtrivedi96/coala,NiklasMM/coala,sudheesh001/coala,arush0311/coala,scottbelden/coala,Asnelchristian/coala,vinc456/coala,karansingh1559/coala,rresol/coala,Uran198/coala,d6e/coala,AbdealiJK/coala,ManjiriBirajdar/coala,saurabhiiit/coala,coala-analyzer/coala,meetmangukiya/coala,coala/coala,AdeshAtole/coala,incorrectusername/coala,yashLadha/coala,netman92/coala,saurabhiiit/coala,d6e/coala,abhiroyg/coala,tushar-rishav/coala,arjunsinghy96/coala,netman92/coala,ayushin78/coala,rresol/coala,incorrectusername/coala,coala-analyzer/coala,svsn2117/coala,stevemontana1980/coala,scottbelden/coala,Asnelchristian/coala,NalinG/coala,MariosPanag/coala,svsn2117/coala,Shade5/coala,kartikeys98/coala,rresol/coala,d6e/coala,swatilodha/coala,arafsheikh/coala,SanketDG/coala,svsn2117/coala,JohnS-01/coala,AdeshAtole/coala,sophiavanvalkenburg/coala,MariosPanag/coala,Balaji2198/coala,kartikeys98/coala,yashtrivedi96/coala,tltuan/coala,dagdaggo/coala,nemaniarjun/coala,arafsheikh/coala,coala-analyzer/coala,damngamerz/coala,abhiroyg/coala,rimacone/testing2,lonewolf07/coala,sophiavanvalkenburg/coala,shreyans800755/coala,RJ722/coala,sagark123/coala,Asalle/coala,yland/coala,sagark123/coala,Balaji2198/coala,coala/coala,mr-karan/coala,CruiseDevice/coala,NiklasMM/coala,mr-karan/coala,shreyans800755/coala,yland/coala,yland/coala,nemaniarjun/coala,refeed/coala,NalinG/coala,stevemontana1980/coala,MariosPanag/coala,meetmangukiya/coala