[driver] Updated main() to return 1 if there were any errors building the Compilation.
[driver] Updated main() to return 1 if there were any errors building the Compilation.

Previously, main() would always return 0 if a Compilation was not built. Now
that the driver is correctly emitting diagnostics, check for any errors to see
if it should return 1 instead.

Swift SVN r13176

calebd/swift,shajrawi/swift,deyton/swift,tjw/swift,jtbandes/swift,sdulal/swift,emilstahl/swift,austinzheng/swift,hughbe/swift,kstaring/swift,hughbe/swift,bitjammer/swift,gregomni/swift,airspeedswift/swift,kstaring/swift,KrishMunot/swift,lorentey/swift,MukeshKumarS/Swift,mightydeveloper/swift,ahoppen/swift,xwu/swift,hooman/swift,parkera/swift,devincoughlin/swift,kusl/swift,khizkhiz/swift,Ivacker/swift,gottesmm/swift,gregomni/swift,frootloops/swift,lorentey/swift,calebd/swift,cbrentharris/swift,benlangmuir/swift,jckarter/swift,jtbandes/swift,allevato/swift,rudkx/swift,amraboelela/swift,tjw/swift,gottesmm/swift,JaSpa/swift,adrfer/swift,roambotics/swift,stephentyrone/swift,kentya6/swift,sschiau/swift,harlanhaskins/swift,khizkhiz/swift,parkera/swift,swiftix/swift.old,rudkx/swift,modocache/swift,mightydeveloper/swift,deyton/swift,allevato/swift,jckarter/swift,benlangmuir/swift,tkremenek/swift,devincoughlin/swift,modocache/swift,sschiau/swift,huonw/swift,jopamer/swift,kperryua/swift,uasys/swift,xedin/swift,gmilos/swift,swiftix/swift,codestergit/swift,OscarSwanros/swift,JGiola/swift,benlangmuir/swift,emilstahl/swift,adrfer/swift,amraboelela/swift,mightydeveloper/swift,ken0nek/swift,atrick/swift,IngmarStein/swift,tardieu/swift,hughbe/swift,parkera/swift,calebd/swift,atrick/swift,tinysun212/swift-windows,jopamer/swift,ben-ng/swift,return/swift,mightydeveloper/swift,johnno1962d/swift,stephentyrone/swift,johnno1962d/swift,harlanhaskins/swift,shahmishal/swift,karwa/swift,shahmishal/swift,apple/swift,ahoppen/swift,JGiola/swift,karwa/swift,johnno1962d/swift,russbishop/swift,CodaFi/swift,cbrentharris/swift,harlanhaskins/swift,alblue/swift,slavapestov/swift,ken0nek/swift,uasys/swift,alblue/swift,austinzheng/swift,uasys/swift,swiftix/swift.old,hooman/swift,ben-ng/swift,harlanhaskins/swift,KrishMunot/swift,manavgabhawala/swift,amraboelela/swift,MukeshKumarS/Swift,gottesmm/swift,JaSpa/swift,JGiola/swift,devincoughlin/swift,slavapestov/swift,sschiau/swift,stephentyrone/swift,swiftix/swift,calebd/swift,IngmarStein/swift,KrishMunot/swift,lorentey/swift,cbrentharris/swift,rudkx/swift,rudkx/swift,hooman/swift,tardieu/swift,gottesmm/swift,JGiola/swift,manavgabhawala/swift,atrick/swift,airspeedswift/swift,mightydeveloper/swift,djwbrown/swift,brentdax/swift,shajrawi/swift,parkera/swift,codestergit/swift,cbrentharris/swift,frootloops/swift,danielmartin/swift,jtbandes/swift,benlangmuir/swift,djwbrown/swift,OscarSwanros/swift,tjw/swift,allevato/swift,Ivacker/swift,dduan/swift,arvedviehweger/swift,natecook1000/swift,LeoShimonaka/swift,xedin/swift,felix91gr/swift,djwbrown/swift,gribozavr/swift,parkera/swift,kperryua/swift,gribozavr/swift,karwa/swift,khizkhiz/swift,lorentey/swift,slavapestov/swift,tkremenek/swift,arvedviehweger/swift,gribozavr/swift,emilstahl/swift,dduan/swift,tardieu/swift,kperryua/swift,ben-ng/swift,shajrawi/swift,natecook1000/swift,russbishop/swift,huonw/swift,CodaFi/swift,ben-ng/swift,IngmarStein/swift,MukeshKumarS/Swift,CodaFi/swift,zisko/swift,djwbrown/swift,shahmishal/swift,OscarSwanros/swift,jopamer/swift,sschiau/swift,deyton/swift,bitjammer/swift,manavgabhawala/swift,swiftix/swift.old,natecook1000/swift,return/swift,karwa/swift,kstaring/swift,nathawes/swift,practicalswift/swift,kusl/swift,practicalswift/swift,shajrawi/swift,allevato/swift,shahmishal/swift,JaSpa/swift,tinysun212/swift-windows,devincoughlin/swift,dduan/swift,gottesmm/swift,tkremenek/swift,codestergit/swift,JGiola/swift,Jnosh/swift,tardieu/swift,hooman/swift,LeoShimonaka/swift,hooman/swift,johnno1962d/swift,calebd/swift,gregomni/swift,frootloops/swift,ahoppen/swift,SwiftAndroid/swift,milseman/swift,kentya6/swift,swiftix/swift.old,jmgc/swift,sdulal/swift,amraboelela/swift,shajrawi/swift,frootloops/swift,practicalswift/swift,khizkhiz/swift,sschiau/swift,jmgc/swift,kusl/swift,kstaring/swift,hughbe/swift,khizkhiz/swift,dreamsxin/swift,hooman/swift,ken0nek/swift,MukeshKumarS/Swift,slavapestov/swift,manavgabhawala/swift,atrick/swift,kentya6/swift,nathawes/swift,xedin/swift,swiftix/swift,amraboelela/swift,emilstahl/swift,danielmartin/swift,ben-ng/swift,slavapestov/swift,jmgc/swift,tinysun212/swift-windows,xedin/swift,benlangmuir/swift,swiftix/swift.old,LeoShimonaka/swift,airspeedswift/swift,codestergit/swift,Ivacker/swift,jopamer/swift,LeoShimonaka/swift,swiftix/swift,gottesmm/swift,jopamer/swift,return/swift,KrishMunot/swift,cbrentharris/swift,airspeedswift/swift,karwa/swift,kentya6/swift,xedin/swift,Ivacker/swift,kusl/swift,jmgc/swift,jmgc/swift,xwu/swift,djwbrown/swift,Ivacker/swift,felix91gr/swift,parkera/swift,LeoShimonaka/swift,tjw/swift,modocache/swift,xedin/swift,Jnosh/swift,zisko/swift,bitjammer/swift,ken0nek/swift,kperryua/swift,kstaring/swift,adrfer/swift,gribozavr/swift,apple/swift,alblue/swift,milseman/swift,tardieu/swift,zisko/swift,jckarter/swift,OscarSwanros/swift,harlanhaskins/swift,mightydeveloper/swift,milseman/swift,shahmishal/swift,zisko/swift,MukeshKumarS/Swift,shajrawi/swift,modocache/swift,SwiftAndroid/swift,kperryua/swift,danielmartin/swift,hughbe/swift,shahmishal/swift,airspeedswift/swift,manavgabhawala/swift,cbrentharris/swift,arvedviehweger/swift,huonw/swift,tinysun212/swift-windows,dduan/swift,Ivacker/swift,austinzheng/swift,cbrentharris/swift,atrick/swift,zisko/swift,JaSpa/swift,manavgabhawala/swift,djwbrown/swift,tinysun212/swift-windows,kusl/swift,OscarSwanros/swift,gribozavr/swift,stephentyrone/swift,SwiftAndroid/swift,kentya6/swift,brentdax/swift,swiftix/swift.old,felix91gr/swift,MukeshKumarS/Swift,kentya6/swift,frootloops/swift,JaSpa/swift,milseman/swift,bitjammer/swift,ahoppen/swift,bitjammer/swift,dduan/swift,nathawes/swift,apple/swift,OscarSwanros/swift,danielmartin/swift,arvedviehweger/swift,xwu/swift,jopamer/swift,natecook1000/swift,jckarter/swift,adrfer/swift,lorentey/swift,gribozavr/swift,modocache/swift,kentya6/swift,apple/swift,danielmartin/swift,brentdax/swift,Jnosh/swift,SwiftAndroid/swift,kusl/swift,mightydeveloper/swift,glessard/swift,nathawes/swift,alblue/swift,russbishop/swift,roambotics/swift,tinysun212/swift-windows,gmilos/swift,zisko/swift,slavapestov/swift,huonw/swift,alblue/swift,zisko/swift,therealbnut/swift,russbishop/swift,kstaring/swift,ahoppen/swift,arvedviehweger/swift,johnno1962d/swift,shajrawi/swift,deyton/swift,CodaFi/swift,harlanhaskins/swift,adrfer/swift,IngmarStein/swift,jmgc/swift,sdulal/swift,felix91gr/swift,allevato/swift,stephentyrone/swift,practicalswift/swift,return/swift,karwa/swift,tjw/swift,felix91gr/swift,kstaring/swift,airspeedswift/swift,shahmishal/swift,nathawes/swift,rudkx/swift,swiftix/swift,emilstahl/swift,KrishMunot/swift,therealbnut/swift,practicalswift/swift,tjw/swift,deyton/swift,Jnosh/swift,lorentey/swift,CodaFi/swift,natecook1000/swift,JGiola/swift,xwu/swift,IngmarStein/swift,sdulal/swift,xwu/swift,gottesmm/swift,swiftix/swift,amraboelela/swift,devincoughlin/swift,glessard/swift,tkremenek/swift,practicalswift/swift,alblue/swift,felix91gr/swift,shajrawi/swift,lorentey/swift,harlanhaskins/swift,xwu/swift,shahmishal/swift,LeoShimonaka/swift,ken0nek/swift,sschiau/swift,JaSpa/swift,aschwaighofer/swift,ben-ng/swift,swiftix/swift.old,brentdax/swift,aschwaighofer/swift,allevato/swift,devincoughlin/swift,SwiftAndroid/swift,huonw/swift,gribozavr/swift,uasys/swift,xedin/swift,return/swift,arvedviehweger/swift,practicalswift/swift,IngmarStein/swift,slavapestov/swift,kusl/swift,huonw/swift,MukeshKumarS/Swift,arvedviehweger/swift,manavgabhawala/swift,tardieu/swift,ken0nek/swift,xwu/swift,khizkhiz/swift,dduan/swift,deyton/swift,bitjammer/swift,IngmarStein/swift,austinzheng/swift,LeoShimonaka/swift,emilstahl/swift,emilstahl/swift,swiftix/swift,gmilos/swift,sschiau/swift,karwa/swift,natecook1000/swift,kentya6/swift,codestergit/swift,dduan/swift,Jnosh/swift,kusl/swift,austinzheng/swift,Ivacker/swift,gregomni/swift,khizkhiz/swift,SwiftAndroid/swift,russbishop/swift,gregomni/swift,tkremenek/swift,roambotics/swift,bitjammer/swift,stephentyrone/swift,danielmartin/swift,hooman/swift,atrick/swift,airspeedswift/swift,johnno1962d/swift,gmilos/swift,dreamsxin/swift,amraboelela/swift,karwa/swift,glessard/swift,brentdax/swift,devincoughlin/swift,djwbrown/swift,aschwaighofer/swift,jckarter/swift,KrishMunot/swift,glessard/swift,codestergit/swift,glessard/swift,uasys/swift,alblue/swift,modocache/swift,ahoppen/swift,milseman/swift,jtbandes/swift,jmgc/swift,natecook1000/swift,adrfer/swift,tkremenek/swift,parkera/swift,SwiftAndroid/swift,milseman/swift,roambotics/swift,brentdax/swift,sdulal/swift,calebd/swift,devincoughlin/swift,xedin/swift,benlangmuir/swift,JaSpa/swift,nathawes/swift,russbishop/swift,frootloops/swift,tkremenek/swift,felix91gr/swift,deyton/swift,uasys/swift,therealbnut/swift,jopamer/swift,swiftix/swift.old,uasys/swift,aschwaighofer/swift,aschwaighofer/swift,apple/swift,lorentey/swift,Ivacker/swift,KrishMunot/swift,jtbandes/swift,aschwaighofer/swift,gregomni/swift,therealbnut/swift,milseman/swift,CodaFi/swift,parkera/swift,stephentyrone/swift,mightydeveloper/swift,ken0nek/swift,gribozavr/swift,emilstahl/swift,modocache/swift,sdulal/swift,kperryua/swift,johnno1962d/swift,cbrentharris/swift,LeoShimonaka/swift,therealbnut/swift,gmilos/swift,gmilos/swift,codestergit/swift,CodaFi/swift,danielmartin/swift,jckarter/swift,sdulal/swift,sschiau/swift,return/swift,austinzheng/swift,ben-ng/swift,jtbandes/swift,return/swift,brentdax/swift,hughbe/swift,allevato/swift,hughbe/swift,rudkx/swift,jckarter/swift,tinysun212/swift-windows,apple/swift,kperryua/swift,practicalswift/swift,aschwaighofer/swift,roambotics/swift,tjw/swift,gmilos/swift,glessard/swift,calebd/swift,Jnosh/swift,nathawes/swift,OscarSwanros/swift,therealbnut/swift,russbishop/swift,jtbandes/swift,austinzheng/swift,adrfer/swift,huonw/swift,therealbnut/swift,sdulal/swift,frootloops/swift,roambotics/swift,tardieu/swift,Jnosh/swift