Support --reporter and --reporter-output when running tests.
Support --reporter and --reporter-output when running tests.

When running any Grunt task that runs tests with Mocha, the two
following command line options are now supported:
- --reporter: allows to specify a reporter, default is 'spec'.
- --reporter-output: allows to specify a file where Mocha's output will
  be stored.

These two command line options make it easier to retrieve and parse test
results when tests are run on a continuous integration platform like
Jenkins.

Fixes #4038.

letsjustfixit/Ghost,PaulBGD/Ghost-Plus,klinker-apps/ghost,fredeerock/atlabghost,cwonrails/Ghost,mtvillwock/Ghost,schneidmaster/theventriloquist.us,FredericBernardo/Ghost,Azzurrio/Ghost,mattchupp/blog,AnthonyCorrado/Ghost,ClarkGH/Ghost,Japh/Ghost,Yarov/yarov,situkangsayur/Ghost,tksander/Ghost,velimir0xff/Ghost,SachaG/bjjbot-blog,singular78/Ghost,rafaelstz/Ghost,Elektro1776/javaPress,edsadr/Ghost,Remchi/Ghost,janvt/Ghost,omaracrystal/Ghost,JulienBrks/Ghost,TryGhost/Ghost,k2byew/Ghost,benstoltz/Ghost,ineitzke/Ghost,NikolaiIvanov/Ghost,kortemy/Ghost,praveenscience/Ghost,daihuaye/Ghost,krahman/Ghost,ryanbrunner/crafters,shannonshsu/Ghost,flomotlik/Ghost,javorszky/Ghost,nneko/Ghost,jomahoney/Ghost,Alxandr/Blog,sfpgmr/Ghost,mlabieniec/ghost-env,wemakeweb/Ghost,jgillich/Ghost,r14r/fork_nodejs_ghost,rchrd2/Ghost,llv22/Ghost,Trendy/Ghost,veyo-care/Ghost,claudiordgz/Ghost,diogogmt/Ghost,neynah/GhostSS,panezhang/Ghost,jamesslock/Ghost,yundt/seisenpenji,ivanoats/ivanstorck.com,memezilla/Ghost,tidyui/Ghost,ljhsai/Ghost,letsjustfixit/Ghost,theonlypat/Ghost,PeterCxy/Ghost,lanffy/Ghost,jacostag/Ghost,smaty1/Ghost,vloom/blog,jacostag/Ghost,kolorahl/Ghost,wspandihai/Ghost,Kikobeats/Ghost,jomofrodo/ccb-ghost,ivantedja/ghost,stridespace/Ghost,disordinary/Ghost,notno/Ghost,trunk-studio/Ghost,bbmepic/Ghost,kevinansfield/Ghost,pensierinmusica/Ghost,jomahoney/Ghost,ErisDS/Ghost,situkangsayur/Ghost,devleague/uber-hackathon,kmeurer/Ghost,BlueHatbRit/Ghost,xiongjungit/Ghost,xiongjungit/Ghost,thehogfather/Ghost,optikalefx/Ghost,Alxandr/Blog,jaswilli/Ghost,liftup/ghost,mnitchie/Ghost,GroupxDev/javaPress,ineitzke/Ghost,sangcu/Ghost,tandrewnichols/ghost,tanbo800/Ghost,riyadhalnur/Ghost,davidmenger/nodejsfan,lukw00/Ghost,mayconxhh/Ghost,davidenq/Ghost-Blog,devleague/uber-hackathon,kevinansfield/Ghost,lethalbrains/Ghost,lukaszklis/Ghost,Aaron1992/Ghost,atandon/Ghost,gleneivey/Ghost,Brunation11/Ghost,klinker-apps/ghost,acburdine/Ghost,kolorahl/Ghost,Netazoic/bad-gateway,johnnymitch/Ghost,leonli/ghost,lowkeyfred/Ghost,Jai-Chaudhary/Ghost,theonlypat/Ghost,ckousik/Ghost,lukekhamilton/Ghost,javimolla/Ghost,andrewconnell/Ghost,BayPhillips/Ghost,patrickdbakke/ghost-spa,Rovak/Ghost,ngosinafrica/SiteForNGOs,edsadr/Ghost,JohnONolan/Ghost,skleung/blog,omaracrystal/Ghost,virtuallyearthed/Ghost,mhhf/ghost-latex,rafaelstz/Ghost,dgem/Ghost,veyo-care/Ghost,mnitchie/Ghost,ashishapy/ghostpy,ManRueda/Ghost,developer-prosenjit/Ghost,letsjustfixit/Ghost,nmukh/Ghost,andrewconnell/Ghost,GroupxDev/javaPress,bastianbin/Ghost,ghostchina/Ghost-zh,panezhang/Ghost,nmukh/Ghost,load11/ghost,rizkyario/Ghost,mdbw/ghost,Romdeau/Ghost,adam-paterson/blog,rameshponnada/Ghost,praveenscience/Ghost,bitjson/Ghost,aroneiermann/GhostJade,djensen47/Ghost,flpms/ghost-ad,diancloud/Ghost,wangjun/Ghost,Netazoic/bad-gateway,imjerrybao/Ghost,jparyani/GhostSS,IbrahimAmin/Ghost,MadeOnMars/Ghost,Dnlyc/Ghost,sebgie/Ghost,e10/Ghost,JulienBrks/Ghost,mtvillwock/Ghost,mlabieniec/ghost-env,thomasalrin/Ghost,cqricky/Ghost,camilodelvasto/herokughost,no1lov3sme/Ghost,olsio/Ghost,AnthonyCorrado/Ghost,julianromera/Ghost,InnoD-WebTier/hardboiled_ghost,icowan/Ghost,leonli/ghost,skmezanul/Ghost,ljhsai/Ghost,sifatsultan/js-ghost,DesenTao/Ghost,InnoD-WebTier/hardboiled_ghost,netputer/Ghost,Japh/shortcoffee,woodyrew/Ghost,anijap/PhotoGhost,VillainyStudios/Ghost,weareleka/blog,PeterCxy/Ghost,beautyOfProgram/Ghost,manishchhabra/Ghost,trunk-studio/Ghost,phillipalexander/Ghost,anijap/PhotoGhost,sajmoon/Ghost,no1lov3sme/Ghost,francisco-filho/Ghost,skmezanul/Ghost,cncodog/Ghost-zh-codog,telco2011/Ghost,jaswilli/Ghost,jin/Ghost,janvt/Ghost,uploadcare/uploadcare-ghost-demo,leonli/ghost,icowan/Ghost,Kaenn/Ghost,LeandroNascimento/Ghost,Feitianyuan/Ghost,uniqname/everydaydelicious,bosung90/Ghost,makapen/Ghost,edurangel/Ghost,dymx101/Ghost,davidmenger/nodejsfan,yanntech/Ghost,carlyledavis/Ghost,JonSmith/Ghost,chris-yoon90/Ghost,MrMaksimize/sdg1,metadevfoundation/Ghost,NodeJSBarenko/Ghost,tmp-reg/Ghost,AlexKVal/Ghost,thehogfather/Ghost,Coding-House/Ghost,olsio/Ghost,rouanw/Ghost,diancloud/Ghost,Remchi/Ghost,mohanambati/Ghost,uploadcare/uploadcare-ghost-demo,NamedGod/Ghost,jaguerra/Ghost,gcamana/Ghost,ITJesse/Ghost-zh,zumobi/Ghost,edurangel/Ghost,Elektro1776/javaPress,Sebastian1011/Ghost,Brunation11/Ghost,daimaqiao/Ghost-Bridge,rollokb/Ghost,KnowLoading/Ghost,smedrano/Ghost,sunh3/Ghost,dggr/Ghost-sr,cysys/ghost-openshift,telco2011/Ghost,rizkyario/Ghost,ManRueda/manrueda-blog,Rovak/Ghost,allanjsx/Ghost,memezilla/Ghost,kwangkim/Ghost,metadevfoundation/Ghost,Shauky/Ghost,fredeerock/atlabghost,camilodelvasto/localghost,mattchupp/blog,telco2011/Ghost,jgladch/taskworksource,lanffy/Ghost,delgermurun/Ghost,liftup/ghost,SkynetInc/steam,PDXIII/Ghost-FormMailer,Elektro1776/javaPress,ygbhf/Ghost,zhiyishou/Ghost,mohanambati/Ghost,vishnuharidas/Ghost,v3rt1go/Ghost,disordinary/Ghost,novaugust/Ghost,pensierinmusica/Ghost,hnarayanan/narayanan.co,codeincarnate/Ghost,jiachenning/Ghost,lethalbrains/Ghost,madole/diverse-learners,patterncoder/patterncoder,lcamacho/Ghost,greenboxindonesia/Ghost,woodyrew/Ghost,allanjsx/Ghost,darvelo/Ghost,duyetdev/islab,wallmarkets/Ghost,netputer/Ghost,makapen/Ghost,bastianbin/Ghost,Kaenn/Ghost,daimaqiao/Ghost-Bridge,developer-prosenjit/Ghost,sajmoon/Ghost,cysys/ghost-openshift,notno/Ghost,morficus/Ghost,pbevin/Ghost,alecho/Ghost,petersucks/blog,dylanchernick/ghostblog,mlabieniec/ghost-env,bbmepic/Ghost,devleague/uber-hackathon,augbog/Ghost,prosenjit-itobuz/Ghost,bsansouci/Ghost,r1N0Xmk2/Ghost,ryanbrunner/crafters,karmakaze/Ghost,aexmachina/blog-old,axross/ghost,dgem/Ghost,NikolaiIvanov/Ghost,vainglori0us/urban-fortnight,laispace/laiblog,hoxoa/Ghost,cobbspur/Ghost,javimolla/Ghost,JohnONolan/Ghost,UsmanJ/Ghost,JohnONolan/Ghost,mohanambati/Ghost,kevinansfield/Ghost,jiangjian-zh/Ghost,davidenq/Ghost-Blog,ErisDS/Ghost,axross/ghost,achimos/ghost_as,acburdine/Ghost,Klaudit/Ghost,jomofrodo/ccb-ghost,yundt/seisenpenji,skleung/blog,ignasbernotas/nullifer,vainglori0us/urban-fortnight,TryGhost/Ghost,jeonghwan-kim/Ghost,melissaroman/ghost-blog,mayconxhh/Ghost,schneidmaster/theventriloquist.us,YY030913/Ghost,blankmaker/Ghost,dbalders/Ghost,ygbhf/Ghost,delgermurun/Ghost,hilerchyn/Ghost,shannonshsu/Ghost,ladislas/ghost,bisoe/Ghost,alexandrachifor/Ghost,sunh3/Ghost,k2byew/Ghost,JonathanZWhite/Ghost,zeropaper/Ghost,KnowLoading/Ghost,tuan/Ghost,Xibao-Lv/Ghost,JonSmith/Ghost,dggr/Ghost-sr,tidyui/Ghost,flomotlik/Ghost,Feitianyuan/Ghost,SkynetInc/steam,Loyalsoldier/Ghost,STANAPO/Ghost,ananthhh/Ghost,leninhasda/Ghost,Coding-House/Ghost,ivanoats/ivanstorck.com,IbrahimAmin/Ghost,obsoleted/Ghost,sangcu/Ghost,TribeMedia/Ghost,Xibao-Lv/Ghost,ThorstenHans/Ghost,rmoorman/Ghost,ignasbernotas/nullifer,YY030913/Ghost,cncodog/Ghost-zh-codog,pathayes/FoodBlog,petersucks/blog,mttschltz/ghostblog,adam-paterson/blog,dggr/Ghost-sr,barbastan/Ghost,lf2941270/Ghost,rito/Ghost,cncodog/Ghost-zh-codog,r1N0Xmk2/Ghost,NamedGod/Ghost,rameshponnada/Ghost,zackslash/Ghost,tandrewnichols/ghost,pollbox/ghostblog,greyhwndz/Ghost,tksander/Ghost,denzelwamburu/denzel.xyz,ASwitlyk/Ghost,stridespace/Ghost,blankmaker/Ghost,carlosmtx/Ghost,bitjson/Ghost,llv22/Ghost,ryansukale/ux.ryansukale.com,barbastan/Ghost,PepijnSenders/whatsontheotherside,thinq4yourself/Unmistakable-Blog,camilodelvasto/herokughost,freele/ghost,shrimpy/Ghost,dai-shi/Ghost,hoxoa/Ghost,sifatsultan/js-ghost,julianromera/Ghost,kmeurer/GhostAzureSetup,jorgegilmoreira/ghost,stridespace/Ghost,cqricky/Ghost,ericbenson/GhostAzureSetup,sebgie/Ghost,Japh/shortcoffee,kaiqigong/Ghost,ashishapy/ghostpy,Jai-Chaudhary/Ghost,Klaudit/Ghost,rouanw/Ghost,hyokosdeveloper/Ghost,rchrd2/Ghost,Smile42RU/Ghost,wemakeweb/Ghost,kwangkim/Ghost,jparyani/GhostSS,AlexKVal/Ghost,achimos/ghost_as,dymx101/Ghost,mttschltz/ghostblog,Gargol/Ghost,dYale/blog,lukw00/Ghost,trepafi/ghost-base,sceltoas/Ghost,thinq4yourself/Unmistakable-Blog,zumobi/Ghost,wallmarkets/Ghost,ballPointPenguin/Ghost,katrotz/blog.katrotz.space,bisoe/Ghost,Loyalsoldier/Ghost,morficus/Ghost,etdev/blog,ladislas/ghost,imjerrybao/Ghost,etanxing/Ghost,Yarov/yarov,tmp-reg/Ghost,VillainyStudios/Ghost,dqj/Ghost,daimaqiao/Ghost-Bridge,mhhf/ghost-latex,BlueHatbRit/Ghost,singular78/Ghost,nneko/Ghost,melissaroman/ghost-blog,dqj/Ghost,diogogmt/Ghost,javorszky/Ghost,floofydoug/Ghost,pedroha/Ghost,psychobunny/Ghost,Japh/Ghost,Kaenn/Ghost,cicorias/Ghost,lukekhamilton/Ghost,aschmoe/jesse-ghost-app,hilerchyn/Ghost,influitive/crafters,ITJesse/Ghost-zh,davidenq/Ghost-Blog,darvelo/Ghost,claudiordgz/Ghost,leninhasda/Ghost,carlyledavis/Ghost,ryansukale/ux.ryansukale.com,jin/Ghost,ErisDS/Ghost,ManRueda/Ghost,Azzurrio/Ghost,velimir0xff/Ghost,katiefenn/Ghost,pbevin/Ghost,exsodus3249/Ghost,PepijnSenders/whatsontheotherside,kaychaks/kaushikc.org,dbalders/Ghost,lowkeyfred/Ghost,smedrano/Ghost,patterncoder/patterncoder,atandon/Ghost,v3rt1go/Ghost,manishchhabra/Ghost,FredericBernardo/Ghost,Dnlyc/Ghost,hnarayanan/narayanan.co,TryGhost/Ghost,load11/ghost,yangli1990/Ghost,obsoleted/Ghost,Kikobeats/Ghost,hnq90/Ghost,vainglori0us/urban-fortnight,augbog/Ghost,tadityar/Ghost,RufusMbugua/TheoryOfACoder,greyhwndz/Ghost,Netazoic/bad-gateway,syaiful6/Ghost,RufusMbugua/TheoryOfACoder,gabfssilva/Ghost,ddeveloperr/Ghost,jorgegilmoreira/ghost,sergeylukin/Ghost,UnbounDev/Ghost,SachaG/bjjbot-blog,dbalders/Ghost,GarrethDottin/Habits-Design,PaulBGD/Ghost-Plus,katrotz/blog.katrotz.space,ngosinafrica/SiteForNGOs,Alxandr/Blog,GroupxDev/javaPress,JonathanZWhite/Ghost,jiachenning/Ghost,InnoD-WebTier/hardboiled_ghost,singular78/Ghost,UsmanJ/Ghost,lf2941270/Ghost,jomofrodo/ccb-ghost,qdk0901/Ghost,optikalefx/Ghost,arvidsvensson/Ghost,tchapi/igneet-blog,arvidsvensson/Ghost,qdk0901/Ghost,ManRueda/manrueda-blog,dai-shi/Ghost,johnnymitch/Ghost,kmeurer/Ghost,aroneiermann/GhostJade,cwonrails/Ghost,kaychaks/kaushikc.org,aschmoe/jesse-ghost-app,epicmiller/pages,GarrethDottin/Habits-Design,neynah/GhostSS,novaugust/Ghost,madole/diverse-learners,karmakaze/Ghost,dylanchernick/ghostblog,akveo/akveo-blog,Bunk/Ghost,acburdine/Ghost,beautyOfProgram/Ghost,Romdeau/Ghost,Polyrhythm/dolce,kortemy/Ghost,johngeorgewright/blog.j-g-w.info,Netazoic/bad-gateway,ASwitlyk/Ghost,novaugust/Ghost,tanbo800/Ghost,ThorstenHans/Ghost,gcamana/Ghost,rmoorman/Ghost,NovaDevelopGroup/Academy,jiangjian-zh/Ghost,tyrikio/Ghost,shrimpy/Ghost,schematical/Ghost,Kikobeats/Ghost,ClarkGH/Ghost,jparyani/GhostSS,bosung90/Ghost,Bunk/Ghost,influitive/crafters,jeonghwan-kim/Ghost,greenboxindonesia/Ghost,flpms/ghost-ad,ananthhh/Ghost,ManRueda/Ghost,chris-yoon90/Ghost,riyadhalnur/Ghost,smaty1/Ghost,akveo/akveo-blog,laispace/laiblog,benstoltz/Ghost,e10/Ghost,duyetdev/islab,Gargol/Ghost,sankumsek/Ghost-ashram,zhiyishou/Ghost,psychobunny/Ghost,djensen47/Ghost,jorgegilmoreira/ghost,gleneivey/Ghost,neynah/GhostSS,NovaDevelopGroup/Academy,jgillich/Ghost,pathayes/FoodBlog,Trendy/Ghost,weareleka/blog,LeandroNascimento/Ghost,rollokb/Ghost,BayPhillips/Ghost,pollbox/ghostblog,mdbw/ghost,phillipalexander/Ghost,cysys/ghost-openshift,schematical/Ghost,wangjun/Ghost,PDXIII/Ghost-FormMailer,chevex/undoctrinate,syaiful6/Ghost,jaguerra/Ghost,TribeMedia/Ghost,yangli1990/Ghost,ericbenson/GhostAzureSetup,kortemy/Ghost,dYale/blog,daihuaye/Ghost,yanntech/Ghost,laispace/laiblog,lukaszklis/Ghost,alecho/Ghost,MadeOnMars/Ghost,bsansouci/Ghost,etdev/blog,AileenCGN/Ghost,epicmiller/pages,ballPointPenguin/Ghost,DesenTao/Ghost,Sebastian1011/Ghost,UnbounDev/Ghost,sfpgmr/Ghost,jamesslock/Ghost,hnq90/Ghost,camilodelvasto/localghost,thomasalrin/Ghost,STANAPO/Ghost,floofydoug/Ghost,sceltoas/Ghost,ckousik/Ghost,allanjsx/Ghost,tyrikio/Ghost,virtuallyearthed/Ghost,ManRueda/manrueda-blog,rizkyario/Ghost,hyokosdeveloper/Ghost,johngeorgewright/blog.j-g-w.info,Smile42RU/Ghost,wspandihai/Ghost,cwonrails/Ghost,tadityar/Ghost,carlosmtx/Ghost,cicorias/Ghost,r14r/fork_nodejs_ghost,denzelwamburu/denzel.xyz,prosenjit-itobuz/Ghost,zeropaper/Ghost,kaiqigong/Ghost,sergeylukin/Ghost,gabfssilva/Ghost,exsodus3249/Ghost,ghostchina/Ghost-zh,pedroha/Ghost,ddeveloperr/Ghost,NovaDevelopGroup/Academy,vloom/blog,etanxing/Ghost,handcode7/Ghost,rito/Ghost,codeincarnate/Ghost,zackslash/Ghost,handcode7/Ghost,francisco-filho/Ghost,sebgie/Ghost