fix(core): Client routes guest access bug
fix(core): Client routes guest access bug

Adds a check for the existence of the "guest" role in the state configuration
that we're transitioning to, in the core $stateChangeStart event handler. If
it exists, then we allow access.

Also, added validation of Authentication.user object. While writing
tests, I ran into an issue here when the Authentication service wasn't injected
into a controller. Probably best to have this check in place.

Fixes https://github.com/meanjs/mean/issues/1098

rastemoh/mean,ElevenFiftyApprentices/ShoppingList_J3,scottrehlander/lrig-mean,osbornch/image-stock,rastemoh/mean,ElevenFiftyApprentices/ShoppingList_J3,PayYourNight/Pay_Your_Night_MEAN,taobataoma/imean,damianham/boatdata,AlekseyH/buildingCompany,StetSolutions/pean,stefan8888/meanjs_experiment,dtytomi/classiecargo,scottrehlander/lrig-mean,helios1989/MEANTEST,ajain27/M.E.A.N,qolart/qolart,ElevenFiftyApprentices/ShoppingList_J3,erChupa8/PruebaMeanJs,cmbusse/recipebook,simison/mean,duppercloud/mean,colinwitkamp/DataEntry-MEAN-,charliejl28/MyMoments,zhaokejian/SenImgVis-meanjs,zfxsss/mean,mbonig/mean,tonymullen/flipflop,Hkurtis/capstone,clintecum/digitalInclusion,Mulumoodi/smartCams,blietz71/AppMakers,ryanjbaxter/mean,codydaig/mean,CSALucasNascimento/Personal-APP,READYTOMASSACRE/example-calendar-mean,benobab/honolulu-meanjs,mapping-slc/mapping-slc,shteeven/scradio,jpca999/properties-dec,monolithx/smallbatch-node,rastemoh/mean,approgramer/mean,JoshuaJWilborn/wilborn.tech,monolithx/smallbatch-node,hernii8/udemy-meanjs,stefansvensson/tsp,steven-st-james/mapping-slc,JoshuaJWilborn/wilborn.tech,Hkurtis/capstone,caleb272/nightlife-app,trendzetter/VegetableGardenPlanner,rodp82/mean,spacetag/TechEx_Josiah_2,ryanjbaxter/mean,lirantal/vault,jaketurton/camera-app,ahurtado-ht/go5app_portal_meanjs,PoetsRock/mapping-slc,Tsuna-mi/owwwly-app,duppercloud/mean,dcdrawk/paperCMS,GLatendresse/GTI510,spacetag/TechEx_Josiah_2,qolart/qolart,clintecum/digitalInclusion,AbdullahElamir/Full_EXAMPLE_MEANJS,fauria/mean,ajain27/M.E.A.N,steven-st-james/mapping-slc,renethio/afelalagi,renethio/afelalagi,emaraan/BossableMeanChallenge,annafatsevych/meanjs,damianham/boatdata,benobab/honolulu-meanjs,emaraan/BossableMeanChallenge,StetSolutions/pean,rodp82/mean,emaraan/BossableMeanChallenge,cmbusse/recipebook,cone-7/sistema-liga,aivrit/Prioreatize,codydaig/mean,AbdullahElamir/Full_EXAMPLE_MEANJS,trainerbill/mean,codydaig/mean,taobataoma/imean,chelnydev/hive,taobataoma/imean,lirantal/vault,flacoeterno/flaco.com.ar,renethio/afelalagi,mapping-slc/mapping-slc,shteeven/scradio,lirantal/meanjs,shteeven/rtd,damianham/boatdata,StetSolutions/pean,ryanjbaxter/mean,combefis/OpenSM,blietz71/AppMakers,SodY2/meanAP,mbonig/mean,Tsuna-mi/owwwly-app,CSALucasNascimento/Personal-APP,hernii8/udemy-meanjs,vaucouleur/mean,cone-7/sistema-liga,XuanyuZhao1984/GradeUp,PayYourNight/Pay_Your_Night_MEAN,tmullen71/automata,oierbravo/meanjs-abestuz,AlekseyH/buildingCompany,READYTOMASSACRE/example-calendar-mean,osbornch/image-stock,dcdrawk/paperCMS,trendzetter/mean,zeldar/meanjs-0.4.2,rastemoh/mean,caleb272/nightlife-app,CannedFish/teammgr4fun,annafatsevych/meanjs,steven-st-james/mapping-slc,monolithx/smallbatch-node,ehsan5505/jobDirect,lirantal/meanjs,p4cm4n972/galajsy.proto,trainerbill/mean,JoshuaJWilborn/wilborn.tech,tmullen71/automata,GLatendresse/GTI510,simison/mean,zhaokejian/SenImgVis-meanjs,chelnydev/hive,oierbravo/meanjs-abestuz,ckim06/crimemap,SodY2/meanAP,combefis/OpenSM,PoetsRock/mapping-slc,CannedFish/teammgr4fun,stefansvensson/tsp,jloveland/mean,tutley/mean,trendzetter/mean,polakowo/seba-recver,shteeven/rtd,XuanyuZhao1984/GradeUp,zaramckeown/Mentor.me,Tsuna-mi/owwwly-app,jaketurton/camera-app,hyperreality/mean,dcdrawk/paperCMS,p4cm4n972/galajsy.proto,dtytomi/classiecargo,erChupa8/PruebaMeanJs,caleb272/nightlife-app,ccheng312/chordsheets,interactive-learning-systems/skill-finder,ckim06/crimemap,pcullin-ratio/mean,mapping-slc/mapping-slc,simison/mean,pcullin-ratio/mean,AbdullahElamir/Full_EXAMPLE_MEANJS,meanjs/mean,scottrehlander/lrig-mean,shteeven/scradio,meanjs/mean,stefan8888/meanjs_experiment,duppercloud/mean,CSALucasNascimento/Personal-APP,gaelgf/twitter-mongo,PayYourNight/Pay_Your_Night_MEAN,aivrit/Prioreatize,aivrit/Prioreatize,AlekseyH/buildingCompany,luebken/mean,cone-7/sistema-liga,SodY2/meanAP,Sunderous/lupine,charliejl28/MyMoments,colinwitkamp/DataEntry-MEAN-,fauria/mean,rodp82/mean,CannedFish/teammgr4fun,gaelgf/twitter-mongo,ahurtado-ht/go5app_portal_meanjs,approgramer/mean,spacetag/TechEx_Josiah_2,bangbh81/MyFirstMeanjs,jpca999/properties-dec,interactive-learning-systems/skill-finder,ehsan5505/jobDirect,trendzetter/mean,jpca999/properties-dec,hernii8/udemy-meanjs,Sunderous/lupine,chelnydev/hive,tmullen71/automata,tonymullen/flipflop,shteeven/rtd,stefansvensson/tsp,hyperreality/mean,colinwitkamp/DataEntry-MEAN-,hyperreality/mean,trendzetter/VegetableGardenPlanner,meanjs/mean,jingkecn/StreamingJS,osbornch/image-stock,gaelgf/twitter-mongo,luebken/mean,oierbravo/meanjs-abestuz,benobab/honolulu-meanjs,ccheng312/chordsheets,Mulumoodi/smartCams,tutley/mean,tutley/mean,clintecum/digitalInclusion,bangbh81/MyFirstMeanjs,blietz71/AppMakers,zeldar/meanjs-0.4.2,zhaokejian/SenImgVis-meanjs,PoetsRock/mapping-slc,Tsuna-mi/owwwly-app,jloveland/mean,zfxsss/mean,fauria/mean,ahurtado-ht/go5app_portal_meanjs,Hkurtis/capstone,zeldar/meanjs-0.4.2,XuanyuZhao1984/GradeUp,GLatendresse/GTI510,p4cm4n972/galajsy.proto,ElevenFiftyApprentices/ShoppingList_J3,jingkecn/StreamingJS,Hkurtis/capstone,flacoeterno/flaco.com.ar,zhaokejian/SenImgVis-meanjs,zfxsss/mean,lirantal/meanjs,vaucouleur/mean,fauria/mean,pcullin-ratio/mean,zhaokejian/SenImgVis-meanjs,luebken/mean,ckim06/crimemap,polakowo/seba-recver,zaramckeown/Mentor.me,helios1989/MEANTEST,jaketurton/camera-app,READYTOMASSACRE/example-calendar-mean,qolart/qolart,tonymullen/flipflop,approgramer/mean,ehsan5505/jobDirect,lirantal/vault,bangbh81/MyFirstMeanjs,jloveland/mean,mbonig/mean,ccheng312/chordsheets,interactive-learning-systems/skill-finder,erChupa8/PruebaMeanJs,helios1989/MEANTEST,polakowo/seba-recver,annafatsevych/meanjs,vaucouleur/mean,Mulumoodi/smartCams,stefan8888/meanjs_experiment,charliejl28/MyMoments,cmbusse/recipebook,trendzetter/VegetableGardenPlanner,flacoeterno/flaco.com.ar,ajain27/M.E.A.N,jingkecn/StreamingJS,trainerbill/mean,dtytomi/classiecargo,zaramckeown/Mentor.me,Sunderous/lupine