[gyb] Provide Python 2 and 3 compatable exception syntax
[gyb] Provide Python 2 and 3 compatable exception syntax

In Python 2 the syntax to catch exceptions was:

except (Exception1, Exception2), target:

In Python 3 the syntax to catch exceptions is:

except (Exception1, Exception2) as target:

This newer Python 3 syntax is also available in 2.6 and 2.7. Therefore,
it is preferred for compatibility reasons. Additionally, the target no
longer can be a tuple. This patch refactors the exception handeling code
to be the newer Python 3 exception catch syntax.

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