Fix bugs when discussion visible in wrong project
Fix bugs when discussion visible in wrong project

Because notes scope was not limited by project in
MergeRequest#mr_and_commit_notes it causes comments from project A
appears in discussions for MR in project B.

yuyue2013/ss,initiummedia/gitlabhq,kitech/gitlabhq,Razer6/gitlabhq,eliasp/gitlabhq,mr-dxdy/gitlabhq,Tyrael/gitlabhq,jairzh/gitlabhq-sfdc,michaKFromParis/sparkslab,fpgentil/gitlabhq,fgbreel/gitlabhq,joalmeid/gitlabhq,jirutka/gitlabhq,Telekom-PD/gitlabhq,mente/gitlabhq,chadyred/gitlabhq,fpgentil/gitlabhq,0x20h/gitlabhq,larryli/gitlabhq,cncodog/gitlab,tim-hoff/gitlabhq,Burick/gitlabhq,stoplightio/gitlabhq,rebecamendez/gitlabhq,Burick/gitlabhq,pkgr/gitlabhq,zrbsprite/gitlabhq,WSDC-NITWarangal/gitlabhq,michaKFromParis/gitlabhqold,Burick/gitlabhq,dvrylc/gitlabhq,lvfeng1130/gitlabhq,liyakun/gitlabhq,salipro4ever/gitlabhq,sideci-sample/sideci-sample-gitlabhq,zBMNForks/gitlabhq,jrjang/gitlab-ce,fgbreel/gitlabhq,mmkassem/gitlabhq,per-garden/gitlabhq,fantasywind/gitlabhq,it33/gitlabhq,delkyd/gitlabhq,t-zuehlsdorff/gitlabhq,michaKFromParis/gitlabhq,jrjang/gitlab-ce,bozaro/gitlabhq,ttasanen/gitlabhq,ayufan/gitlabhq,ibiart/gitlabhq,screenpages/gitlabhq,cui-liqiang/gitlab-ce,rhels/gitlabhq,williamherry/gitlabhq,ayufan/gitlabhq,larryli/gitlabhq,initiummedia/gitlabhq,fearenales/gitlabhq,youprofit/gitlabhq,dwrensha/gitlabhq,williamherry/gitlabhq,jairzh/gitlabhq-sfdc,jrjang/gitlabhq,shinexiao/gitlabhq,atomaka/gitlabhq,eliasp/gitlabhq,bbodenmiller/gitlabhq,louahola/gitlabhq,since2014/gitlabhq,ordiychen/gitlabhq,yatish27/gitlabhq,Devin001/gitlabhq,yonglehou/gitlabhq,vjustov/gitlabhq,pkallberg/tjenare,nmav/gitlabhq,8thcolor/rubyconfau2015-sadr,OtkurBiz/gitlabhq,initiummedia/gitlabhq,wangcan2014/gitlabhq,shinexiao/gitlabhq,Devin001/gitlabhq,nmav/gitlabhq,Razer6/gitlabhq,copystudy/gitlabhq,pjknkda/gitlabhq,allysonbarros/gitlabhq,tk23/gitlabhq,kemenaran/gitlabhq,htve/GitlabForChinese,Exeia/gitlabhq,SVArago/gitlabhq,DanielZhangQingLong/gitlabhq,SVArago/gitlabhq,duduribeiro/gitlabhq,hzy001/gitlabhq,hq804116393/gitlabhq,rumpelsepp/gitlabhq,MauriceMohlek/gitlabhq,bbodenmiller/gitlabhq,stellamiranda/mobbr-gitlabhq,t-zuehlsdorff/gitlabhq,eliasp/gitlabhq,martinma4/gitlabhq,mr-dxdy/gitlabhq,tim-hoff/gitlabhq,dplarson/gitlabhq,allysonbarros/gitlabhq,hacsoc/gitlabhq,jaepyoung/gitlabhq,yatish27/gitlabhq,salipro4ever/gitlabhq,eliasp/gitlabhq,NKMR6194/gitlabhq,NKMR6194/gitlabhq,per-garden/gitlabhq,sekcheong/gitlabhq,Kambda/mobbr-gitlabhq,shinexiao/gitlabhq,revaret/gitlabhq,mrb/gitlabhq,yonglehou/gitlabhq,LUMC/gitlabhq,michaKFromParis/gitlabhqold,fscherwi/gitlabhq,luzhongyang/gitlabhq,xuvw/gitlabhq,cncodog/gitlab,bbodenmiller/gitlabhq,hacsoc/gitlabhq,tempbottle/gitlabhq,chenrui2014/gitlabhq,pulkit21/gitlabhq,nmav/gitlabhq,fantasywind/gitlabhq,mente/gitlabhq,LUMC/gitlabhq,darkrasid/gitlabhq,allistera/gitlabhq,bladealslayer/gitlabhq,ikappas/gitlabhq,stanhu/gitlabhq,vjustov/gitlabhq,phinfonet/mobbr-gitlabhq,jrjang/gitlab-ce,ordiychen/gitlabhq,lvfeng1130/gitlabhq,flashbuckets/gitlabhq,123Haynes/gitlabhq,theodi/gitlabhq,Tyrael/gitlabhq,axilleas/gitlabhq,pjknkda/gitlabhq,jaepyoung/gitlabhq,per-garden/gitlabhq,cncodog/gitlab,michaKFromParis/gitlabhqold,sonalkr132/gitlabhq,chenrui2014/gitlabhq,it33/gitlabhq,joalmeid/gitlabhq,pkgr/gitlabhq,copystudy/gitlabhq,LytayTOUCH/gitlabhq,ayufan/gitlabhq,mrb/gitlabhq,ibiart/gitlabhq,ordiychen/gitlabhq,hacsoc/gitlabhq,H3Chief/gitlabhq,salipro4ever/gitlabhq,martinma4/gitlabhq,NARKOZ/gitlabhq,tempbottle/gitlabhq,8thcolor/testing-public-gitlabhq,t-zuehlsdorff/gitlabhq,8thcolor/eurucamp2014-htdsadr,mavimo/gitlabhq,WSDC-NITWarangal/gitlabhq,zBMNForks/gitlabhq,WSDC-NITWarangal/gitlabhq,mente/gitlabhq,windymid/test2,dwrensha/gitlabhq,ksoichiro/gitlabhq,gorgee/gitlabhq,michaKFromParis/sparkslab,rfeese/gitlab-ce,sakishum/gitlabhq,ksoichiro/gitlabhq,dvrylc/gitlabhq,Telekom-PD/gitlabhq,zrbsprite/gitlabhq,yama07/gitlabhq,fgbreel/gitlabhq,mente/gitlabhq,Exeia/gitlabhq,Burick/gitlabhq,kemenaran/gitlabhq,zrbsprite/gitlabhq,bozaro/gitlabhq,yuyue2013/ss,jirutka/gitlabhq,adaiguoguo/gitlab_globalserarch,Kambda/mobbr-gitlabhq,SVArago/gitlabhq,fearenales/gitlabhq,k4zzk/gitlabhq,sekcheong/gitlabhq,NARKOZ/gitlabhq,kemenaran/gitlabhq,dreampet/gitlab,daiyu/gitlab-zh,dvrylc/gitlabhq,sue445/gitlabhq,rumpelsepp/gitlabhq,Datacom/gitlabhq,LytayTOUCH/gitlabhq,yuyue2013/ss,ferdinandrosario/gitlabhq,8thcolor/rubyconfau2015-sadr,chadyred/gitlabhq,cinderblock/gitlabhq,chenrui2014/gitlabhq,bigsurge/gitlabhq,stoplightio/gitlabhq,SkyWei/gitlabhq,htve/GitlabForChinese,koreamic/gitlabhq,hq804116393/gitlabhq,Datacom/gitlabhq,pupaxxo/gitlabhq,liyakun/gitlabhq,theonlydoo/gitlabhq,michaKFromParis/sparkslab,duduribeiro/gitlabhq,0x20h/gitlabhq,kotaro-dev/gitlab-6-9,cui-liqiang/gitlab-ce,folpindo/gitlabhq,yfaizal/gitlabhq,ibiart/gitlabhq,fscherwi/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,rumpelsepp/gitlabhq,ttasanen/gitlabhq,yulchitaj/TEST3,michaKFromParis/gitlabhqold,julianengel/gitlabhq,8thcolor/testing-public-gitlabhq,lvfeng1130/gitlabhq,since2014/gitlabhq,yama07/gitlabhq,sideci-sample/sideci-sample-gitlabhq,jrjang/gitlabhq,sekcheong/gitlabhq,screenpages/gitlabhq,fscherwi/gitlabhq,julianengel/gitlabhq,bozaro/gitlabhq,salipro4ever/gitlabhq,luzhongyang/gitlabhq,yulchitaj/TEST3,ayufan/gitlabhq,joalmeid/gitlabhq,tempbottle/gitlabhq,theonlydoo/gitlabhq,ikappas/gitlabhq,kotaro-dev/gitlab-6-9,liyakun/gitlabhq,whluwit/gitlabhq,sakishum/gitlabhq,kotaro-dev/gitlab-6-9,Datacom/gitlabhq,tim-hoff/gitlabhq,johnmyqin/gitlabhq,SVArago/gitlabhq,stanhu/gitlabhq,mr-dxdy/gitlabhq,cui-liqiang/gitlab-ce,TheWatcher/gitlabhq,cinderblock/gitlabhq,szechyjs/gitlabhq,NARKOZ/gitlabhq,bigsurge/gitlabhq,LUMC/gitlabhq,lvfeng1130/gitlabhq,ferdinandrosario/gitlabhq,openwide-java/gitlabhq,H3Chief/gitlabhq,ordiychen/gitlabhq,delkyd/gitlabhq,mathstuf/gitlabhq,luzhongyang/gitlabhq,tk23/gitlabhq,nguyen-tien-mulodo/gitlabhq,it33/gitlabhq,k4zzk/gitlabhq,yatish27/gitlabhq,NuLL3rr0r/gitlabhq,tk23/gitlabhq,sakishum/gitlabhq,Keystion/gitlabhq,ksoichiro/gitlabhq,szechyjs/gitlabhq,allysonbarros/gitlabhq,akumetsuv/gitlab,tempbottle/gitlabhq,since2014/gitlabhq,mavimo/gitlabhq,theonlydoo/gitlabhq,hzy001/gitlabhq,htve/GitlabForChinese,per-garden/gitlabhq,SkyWei/gitlabhq,0x20h/gitlabhq,pkgr/gitlabhq,cinderblock/gitlabhq,Tyrael/gitlabhq,atomaka/gitlabhq,ZeoAlliance/gitlabhq,rebecamendez/gitlabhq,Kambda/Mobbr,pulkit21/gitlabhq,manfer/gitlabhq,dwrensha/gitlabhq,adaiguoguo/gitlab_globalserarch,openwide-java/gitlabhq,koreamic/gitlabhq,childbamboo/gitlabhq,martijnvermaat/gitlabhq,johnmyqin/gitlabhq,sonalkr132/gitlabhq,NKMR6194/gitlabhq,MauriceMohlek/gitlabhq,k4zzk/gitlabhq,chenrui2014/gitlabhq,akumetsuv/gitlab,Tyrael/gitlabhq,gopeter/gitlabhq,wangcan2014/gitlabhq,pupaxxo/gitlabhq,dukex/gitlabhq,Keystion/gitlabhq,childbamboo/gitlabhq,bozaro/gitlabhq,fpgentil/gitlabhq,H3Chief/gitlabhq,johnmyqin/gitlabhq,SkyWei/gitlabhq,Razer6/gitlabhq,since2014/gitlabhq,Telekom-PD/gitlabhq,michaKFromParis/gitlabhq,rhels/gitlabhq,MauriceMohlek/gitlabhq,Keystion/gitlabhq,Datacom/gitlabhq,Kambda/mobbr-gitlabhq,Soullivaneuh/gitlabhq,ZeoAlliance/gitlabhq,aaronsnyder/gitlabhq,Exeia/gitlabhq,OlegGirko/gitlab-ce,childbamboo/gitlabhq,sekcheong/gitlabhq,martinma4/gitlabhq,LUMC/gitlabhq,iiet/iiet-git,rhels/gitlabhq,yonglehou/gitlabhq,whluwit/gitlabhq,fearenales/gitlabhq,xuvw/gitlabhq,jirutka/gitlabhq,MauriceMohlek/gitlabhq,julianengel/gitlabhq,openwide-java/gitlabhq,yatish27/gitlabhq,joalmeid/gitlabhq,sue445/gitlabhq,xuvw/gitlabhq,TheWatcher/gitlabhq,8thcolor/eurucamp2014-htdsadr,julianengel/gitlabhq,pulkit21/gitlabhq,gorgee/gitlabhq,jaepyoung/gitlabhq,TheWatcher/gitlabhq,mmkassem/gitlabhq,koreamic/gitlabhq,phinfonet/mobbr-gitlabhq,cncodog/gitlab,darkrasid/gitlabhq,pjknkda/gitlabhq,screenpages/gitlabhq,LytayTOUCH/gitlabhq,jrjang/gitlabhq,OlegGirko/gitlab-ce,OlegGirko/gitlab-ce,dukex/gitlabhq,delkyd/gitlabhq,bbodenmiller/gitlabhq,gopeter/gitlabhq,iiet/iiet-git,jairzh/gitlabhq-sfdc,stoplightio/gitlabhq,Soullivaneuh/gitlabhq,dreampet/gitlab,htve/GitlabForChinese,zBMNForks/gitlabhq,ngpestelos/gitlabhq,youprofit/gitlabhq,hq804116393/gitlabhq,jvanbaarsen/gitlabhq,Kambda/Mobbr,nguyen-tien-mulodo/gitlabhq,szechyjs/gitlabhq,jvanbaarsen/gitlabhq,ZeoAlliance/gitlabhq,szechyjs/gitlabhq,fgbreel/gitlabhq,bladealslayer/gitlabhq,allistera/gitlabhq,jvanbaarsen/gitlabhq,sue445/gitlabhq,pkallberg/tjenare,vjustov/gitlabhq,yulchitaj/TEST3,revaret/gitlabhq,fendoudeqingchunhh/gitlabhq,t-zuehlsdorff/gitlabhq,duduribeiro/gitlabhq,NARKOZ/gitlabhq,yfaizal/gitlabhq,rebecamendez/gitlabhq,flashbuckets/gitlabhq,fearenales/gitlabhq,vjustov/gitlabhq,stellamiranda/mobbr-gitlabhq,dvrylc/gitlabhq,sue445/gitlabhq,daiyu/gitlab-zh,whluwit/gitlabhq,NuLL3rr0r/gitlabhq,fantasywind/gitlabhq,flashbuckets/gitlabhq,revaret/gitlabhq,liyakun/gitlabhq,pulkit21/gitlabhq,bladealslayer/gitlabhq,icedwater/gitlabhq,fendoudeqingchunhh/gitlabhq,TheWatcher/gitlabhq,yama07/gitlabhq,duduribeiro/gitlabhq,cinderblock/gitlabhq,jaepyoung/gitlabhq,kitech/gitlabhq,allysonbarros/gitlabhq,tim-hoff/gitlabhq,theodi/gitlabhq,OlegGirko/gitlab-ce,wangcan2014/gitlabhq,8thcolor/testing-public-gitlabhq,michaKFromParis/gitlabhq,johnmyqin/gitlabhq,gorgee/gitlabhq,jrjang/gitlab-ce,adaiguoguo/gitlab_globalserarch,ngpestelos/gitlabhq,nmav/gitlabhq,zBMNForks/gitlabhq,yuyue2013/ss,Kambda/Mobbr,aaronsnyder/gitlabhq,childbamboo/gitlabhq,NuLL3rr0r/gitlabhq,martinma4/gitlabhq,whluwit/gitlabhq,flashbuckets/gitlabhq,8thcolor/rubyconfau2015-sadr,dreampet/gitlab,ferdinandrosario/gitlabhq,mmkassem/gitlabhq,Devin001/gitlabhq,rhels/gitlabhq,youprofit/gitlabhq,dplarson/gitlabhq,H3Chief/gitlabhq,daiyu/gitlab-zh,Devin001/gitlabhq,pupaxxo/gitlabhq,axilleas/gitlabhq,pkallberg/tjenare,nguyen-tien-mulodo/gitlabhq,ttasanen/gitlabhq,zrbsprite/gitlabhq,bigsurge/gitlabhq,DanielZhangQingLong/gitlabhq,wangcan2014/gitlabhq,WSDC-NITWarangal/gitlabhq,mavimo/gitlabhq,bigsurge/gitlabhq,ikappas/gitlabhq,dreampet/gitlab,ksoichiro/gitlabhq,delkyd/gitlabhq,manfer/gitlabhq,Keystion/gitlabhq,kitech/gitlabhq,sakishum/gitlabhq,Razer6/gitlabhq,fendoudeqingchunhh/gitlabhq,OtkurBiz/gitlabhq,ferdinandrosario/gitlabhq,atomaka/gitlabhq,icedwater/gitlabhq,allistera/gitlabhq,SkyWei/gitlabhq,sonalkr132/gitlabhq,kemenaran/gitlabhq,mrb/gitlabhq,tk23/gitlabhq,dukex/gitlabhq,williamherry/gitlabhq,stoplightio/gitlabhq,allistera/gitlabhq,123Haynes/gitlabhq,yfaizal/gitlabhq,louahola/gitlabhq,larryli/gitlabhq,123Haynes/gitlabhq,nguyen-tien-mulodo/gitlabhq,OtkurBiz/gitlabhq,folpindo/gitlabhq,Soullivaneuh/gitlabhq,dukex/gitlabhq,michaKFromParis/gitlabhq,gopeter/gitlabhq,jvanbaarsen/gitlabhq,8thcolor/eurucamp2014-htdsadr,mr-dxdy/gitlabhq,darkrasid/gitlabhq,sideci-sample/sideci-sample-gitlabhq,jrjang/gitlabhq,luzhongyang/gitlabhq,jirutka/gitlabhq,DanielZhangQingLong/gitlabhq,k4zzk/gitlabhq,stanhu/gitlabhq,jairzh/gitlabhq-sfdc,louahola/gitlabhq,theonlydoo/gitlabhq,dplarson/gitlabhq,dplarson/gitlabhq,Exeia/gitlabhq,windymid/test2,yfaizal/gitlabhq,iiet/iiet-git,shinexiao/gitlabhq,larryli/gitlabhq,rfeese/gitlab-ce,martijnvermaat/gitlabhq,mathstuf/gitlabhq,yonglehou/gitlabhq,mmkassem/gitlabhq,williamherry/gitlabhq,manfer/gitlabhq,windymid/test2,screenpages/gitlabhq,gorgee/gitlabhq,theodi/gitlabhq,ikappas/gitlabhq,stanhu/gitlabhq,DanielZhangQingLong/gitlabhq,icedwater/gitlabhq,fscherwi/gitlabhq,rfeese/gitlab-ce,mathstuf/gitlabhq,aaronsnyder/gitlabhq,revaret/gitlabhq,chadyred/gitlabhq,chadyred/gitlabhq,louahola/gitlabhq,sonalkr132/gitlabhq,youprofit/gitlabhq,LytayTOUCH/gitlabhq,hacsoc/gitlabhq,mrb/gitlabhq,aaronsnyder/gitlabhq,fantasywind/gitlabhq,hq804116393/gitlabhq,rebecamendez/gitlabhq,pjknkda/gitlabhq,initiummedia/gitlabhq,NKMR6194/gitlabhq,it33/gitlabhq,openwide-java/gitlabhq,stellamiranda/mobbr-gitlabhq,hzy001/gitlabhq,Soullivaneuh/gitlabhq,darkrasid/gitlabhq,theodi/gitlabhq,rfeese/gitlab-ce,manfer/gitlabhq,ttasanen/gitlabhq,daiyu/gitlab-zh,icedwater/gitlabhq,gopeter/gitlabhq,fpgentil/gitlabhq,rumpelsepp/gitlabhq,ngpestelos/gitlabhq,ngpestelos/gitlabhq,mavimo/gitlabhq,Telekom-PD/gitlabhq,folpindo/gitlabhq,yama07/gitlabhq,martijnvermaat/gitlabhq,akumetsuv/gitlab,dwrensha/gitlabhq,phinfonet/mobbr-gitlabhq,yulchitaj/TEST3,axilleas/gitlabhq,koreamic/gitlabhq,fendoudeqingchunhh/gitlabhq,mathstuf/gitlabhq,OtkurBiz/gitlabhq,copystudy/gitlabhq,martijnvermaat/gitlabhq,adaiguoguo/gitlab_globalserarch,folpindo/gitlabhq,copystudy/gitlabhq,michaKFromParis/sparkslab,cui-liqiang/gitlab-ce,kitech/gitlabhq,hzy001/gitlabhq