Add test cases to exercise the native String vs cocoa buffer String path.
Add test cases to exercise the native String vs cocoa buffer String path.

Reapply of r31475.

Swift SVN r31490

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