Honor [exported] or lack thereof for the imports of serialized modules.
Honor [exported] or lack thereof for the imports of serialized modules.

This should complete support for Swift-side export control.

Note that a TU's imports are still all "re-exported" (i.e. returned from
getReexportedModules) whether they are marked [exported] or not. This is
a convenient trick to get lookup in the main source file to look at all
imported modules, but if we allow real multi-TU compilation we'll have to
revisit this.

Swift SVN r7052

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