Fix overlap calculation for SortedSpans
Fix overlap calculation for SortedSpans

This in turn fixes span classification for selection over OutputBuffer in Interactive Window.
And provide correct color when copying error messages.

agocke/roslyn,jcouv/roslyn,khyperia/roslyn,vcsjones/roslyn,basoundr/roslyn,MattWindsor91/roslyn,paulvanbrenk/roslyn,yeaicc/roslyn,stephentoub/roslyn,drognanar/roslyn,AlekseyTs/roslyn,natgla/roslyn,gafter/roslyn,ljw1004/roslyn,shyamnamboodiripad/roslyn,physhi/roslyn,Inverness/roslyn,michalhosala/roslyn,shyamnamboodiripad/roslyn,MichalStrehovsky/roslyn,akrisiun/roslyn,VSadov/roslyn,reaction1989/roslyn,dotnet/roslyn,natidea/roslyn,gafter/roslyn,dpoeschl/roslyn,Hosch250/roslyn,michalhosala/roslyn,wvdd007/roslyn,mmitche/roslyn,orthoxerox/roslyn,jamesqo/roslyn,moozzyk/roslyn,ericfe-ms/roslyn,DustinCampbell/roslyn,eriawan/roslyn,HellBrick/roslyn,zooba/roslyn,natgla/roslyn,DustinCampbell/roslyn,cston/roslyn,jkotas/roslyn,davkean/roslyn,jaredpar/roslyn,stephentoub/roslyn,MatthieuMEZIL/roslyn,KevinRansom/roslyn,MattWindsor91/roslyn,gafter/roslyn,dpoeschl/roslyn,AnthonyDGreen/roslyn,paulvanbrenk/roslyn,Shiney/roslyn,jmarolf/roslyn,a-ctor/roslyn,jhendrixMSFT/roslyn,jcouv/roslyn,balajikris/roslyn,abock/roslyn,paulvanbrenk/roslyn,TyOverby/roslyn,AArnott/roslyn,mattscheffer/roslyn,amcasey/roslyn,jeffanders/roslyn,reaction1989/roslyn,budcribar/roslyn,panopticoncentral/roslyn,davkean/roslyn,managed-commons/roslyn,physhi/roslyn,srivatsn/roslyn,KiloBravoLima/roslyn,swaroop-sridhar/roslyn,akrisiun/roslyn,heejaechang/roslyn,swaroop-sridhar/roslyn,bartdesmet/roslyn,mmitche/roslyn,budcribar/roslyn,zooba/roslyn,khellang/roslyn,OmarTawfik/roslyn,khellang/roslyn,SeriaWei/roslyn,sharwell/roslyn,Shiney/roslyn,rgani/roslyn,VSadov/roslyn,brettfo/roslyn,abock/roslyn,xoofx/roslyn,CaptainHayashi/roslyn,mattwar/roslyn,nguerrera/roslyn,weltkante/roslyn,bkoelman/roslyn,jmarolf/roslyn,tmeschter/roslyn,bkoelman/roslyn,DustinCampbell/roslyn,SeriaWei/roslyn,diryboy/roslyn,sharadagrawal/Roslyn,thomaslevesque/roslyn,jkotas/roslyn,cston/roslyn,CyrusNajmabadi/roslyn,VPashkov/roslyn,natidea/roslyn,cston/roslyn,tannergooding/roslyn,mattwar/roslyn,MatthieuMEZIL/roslyn,basoundr/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,mmitche/roslyn,diryboy/roslyn,KevinRansom/roslyn,natgla/roslyn,nguerrera/roslyn,Hosch250/roslyn,wvdd007/roslyn,tannergooding/roslyn,mgoertz-msft/roslyn,brettfo/roslyn,genlu/roslyn,dpoeschl/roslyn,brettfo/roslyn,genlu/roslyn,AmadeusW/roslyn,sharadagrawal/Roslyn,OmarTawfik/roslyn,Giftednewt/roslyn,amcasey/roslyn,orthoxerox/roslyn,zooba/roslyn,Maxwe11/roslyn,tmeschter/roslyn,KevinH-MS/roslyn,tmat/roslyn,managed-commons/roslyn,pdelvo/roslyn,pdelvo/roslyn,diryboy/roslyn,lorcanmooney/roslyn,sharwell/roslyn,jcouv/roslyn,CyrusNajmabadi/roslyn,yeaicc/roslyn,AnthonyDGreen/roslyn,MichalStrehovsky/roslyn,xasx/roslyn,orthoxerox/roslyn,rgani/roslyn,panopticoncentral/roslyn,budcribar/roslyn,balajikris/roslyn,a-ctor/roslyn,MattWindsor91/roslyn,KevinH-MS/roslyn,mattwar/roslyn,khyperia/roslyn,Maxwe11/roslyn,robinsedlaczek/roslyn,mattscheffer/roslyn,jmarolf/roslyn,HellBrick/roslyn,jasonmalinowski/roslyn,ErikSchierboom/roslyn,srivatsn/roslyn,sharadagrawal/Roslyn,physhi/roslyn,AnthonyDGreen/roslyn,TyOverby/roslyn,vslsnap/roslyn,jhendrixMSFT/roslyn,jamesqo/roslyn,jkotas/roslyn,jamesqo/roslyn,akrisiun/roslyn,AlekseyTs/roslyn,OmarTawfik/roslyn,VPashkov/roslyn,sharwell/roslyn,KiloBravoLima/roslyn,Maxwe11/roslyn,MichalStrehovsky/roslyn,tmeschter/roslyn,jeffanders/roslyn,antonssonj/roslyn,tmat/roslyn,a-ctor/roslyn,yeaicc/roslyn,ValentinRueda/roslyn,jasonmalinowski/roslyn,vslsnap/roslyn,vcsjones/roslyn,drognanar/roslyn,mseamari/Stuff,genlu/roslyn,drognanar/roslyn,Pvlerick/roslyn,KevinH-MS/roslyn,mavasani/roslyn,rgani/roslyn,VSadov/roslyn,robinsedlaczek/roslyn,leppie/roslyn,Shiney/roslyn,reaction1989/roslyn,khyperia/roslyn,vslsnap/roslyn,heejaechang/roslyn,bbarry/roslyn,xasx/roslyn,heejaechang/roslyn,KiloBravoLima/roslyn,AmadeusW/roslyn,basoundr/roslyn,KevinRansom/roslyn,antonssonj/roslyn,ericfe-ms/roslyn,managed-commons/roslyn,kelltrick/roslyn,mseamari/Stuff,lorcanmooney/roslyn,tmat/roslyn,kelltrick/roslyn,xoofx/roslyn,antonssonj/roslyn,moozzyk/roslyn,weltkante/roslyn,Giftednewt/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,natidea/roslyn,lorcanmooney/roslyn,robinsedlaczek/roslyn,amcasey/roslyn,aelij/roslyn,jaredpar/roslyn,mavasani/roslyn,bartdesmet/roslyn,tvand7093/roslyn,bbarry/roslyn,jhendrixMSFT/roslyn,Inverness/roslyn,eriawan/roslyn,TyOverby/roslyn,ljw1004/roslyn,mgoertz-msft/roslyn,khellang/roslyn,HellBrick/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,MattWindsor91/roslyn,tvand7093/roslyn,nguerrera/roslyn,leppie/roslyn,wvdd007/roslyn,eriawan/roslyn,panopticoncentral/roslyn,CaptainHayashi/roslyn,mgoertz-msft/roslyn,tannergooding/roslyn,KirillOsenkov/roslyn,MatthieuMEZIL/roslyn,Giftednewt/roslyn,CaptainHayashi/roslyn,bbarry/roslyn,VPashkov/roslyn,CyrusNajmabadi/roslyn,KirillOsenkov/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,swaroop-sridhar/roslyn,ValentinRueda/roslyn,Inverness/roslyn,ValentinRueda/roslyn,jeffanders/roslyn,mseamari/Stuff,AdamSpeight2008/roslyn-AdamSpeight2008,stephentoub/roslyn,ErikSchierboom/roslyn,agocke/roslyn,moozzyk/roslyn,abock/roslyn,ljw1004/roslyn,AArnott/roslyn,balajikris/roslyn,davkean/roslyn,Pvlerick/roslyn,mavasani/roslyn,AlekseyTs/roslyn,SeriaWei/roslyn,aelij/roslyn,jaredpar/roslyn,thomaslevesque/roslyn,Hosch250/roslyn,pdelvo/roslyn,KirillOsenkov/roslyn,xasx/roslyn,tvand7093/roslyn,mattscheffer/roslyn,kelltrick/roslyn,AArnott/roslyn,ErikSchierboom/roslyn,bkoelman/roslyn,xoofx/roslyn,aelij/roslyn,agocke/roslyn,srivatsn/roslyn,dotnet/roslyn,ericfe-ms/roslyn,dotnet/roslyn,leppie/roslyn,vcsjones/roslyn,thomaslevesque/roslyn,AmadeusW/roslyn,Pvlerick/roslyn,michalhosala/roslyn