Allow annotations on thrift typedefs.
Allow annotations on thrift typedefs.

I have made the corresponding change in the canonical thrift compiler:

https://issues.apache.org/jira/browse/THRIFT-1651

Also fixes a bug in python_tests.py.

(sapling split of ff7e48d365cdbfcbfe5b10f68343de94cf9449f9)
digwanderlust/pants,digwanderlust/pants,dgomez10/xanon,digwanderlust/pants,mateor/pants,lahosken/pants,pombredanne/pants,landism/pants,di0spyr0s/pants,scode/pants,dturner-tw/pants,megaserg/pants,dgomez10/xanon,sameerparekh/pants,kwlzn/pants,peiyuwang/pants,qma/pants,megaserg/pants,mateor/pants,pantsbuild/pants,ericzundel/pants,dbentley/pants,foursquare/pants,sid-kap/pants,pombredanne/pants,pantsbuild/pants,tdyas/pants,sameerparekh/pants,fkorotkov/pants,lahosken/pants,manasapte/pants,baroquebobcat/pants,scode/pants,pantsbuild/pants,lahosken/pants,qma/pants,tejal29/pants,kslundberg/pants,pombredanne/pants,dturner-tw/pants,gmalmquist/pants,mateor/pants,ity/pants,gmalmquist/pants,wisechengyi/pants,dbentley/pants,twitter/pants,scode/pants,Gabriel439/pants,wisechengyi/pants,TansyArron/pants,megaserg/pants,wisechengyi/pants,peiyuwang/pants,foursquare/pants,UnrememberMe/pants,kwlzn/pants,pombredanne/pants,slyphon/pants,kslundberg/pants,kslundberg/pants,pgroudas/pants,cevaris/pants,manasapte/pants,areitz/pants,TansyArron/pants,fkorotkov/pants,twitter/pants,lahosken/pants,ericzundel/pants,pantsbuild/pants,slyphon/pants,jtrobec/pants,sameerparekh/pants,twitter/pants,wisechengyi/pants,tejal29/pants,ity/pants,laurentgo/pants,slyphon/pants,twitter/pants,sid-kap/pants,jtrobec/pants,dgomez10/xanon,dgomez10/xanon,benjyw/pants,square/pants,jtrobec/pants,dgomez10/xanon,sameerparekh/pants,pantsbuild/pants,megaserg/pants,laurentgo/pants,laurentgo/pants,di0spyr0s/pants,slyphon/pants,dgomez10/xanon,cevaris/pants,dbentley/pants,wisechengyi/pants,landism/pants,jsirois/pants,mateor/pants,ericzundel/pants,baroquebobcat/pants,qma/pants,benjyw/pants,jessrosenfield/pants,manasapte/pants,15Dkatz/pants,lahosken/pants,sid-kap/pants,areitz/pants,twitter/pants,pgroudas/pants,foursquare/pants,manasapte/pants,lahosken/pants,pgroudas/pants,landism/pants,areitz/pants,jessrosenfield/pants,gmalmquist/pants,kwlzn/pants,jtrobec/pants,UnrememberMe/pants,square/pants,ericzundel/pants,dturner-tw/pants,lahosken/pants,square/pants,sid-kap/pants,pgroudas/pants,sameerparekh/pants,fkorotkov/pants,baroquebobcat/pants,cevaris/pants,manasapte/pants,di0spyr0s/pants,peiyuwang/pants,foursquare/pants,Gabriel439/pants,square/pants,landism/pants,mateor/pants,scode/pants,dgomez10/xanon,15Dkatz/pants,megaserg/pants,tdyas/pants,cevaris/pants,areitz/pants,slyphon/pants,landism/pants,peiyuwang/pants,15Dkatz/pants,mateor/pants,scode/pants,UnrememberMe/pants,landism/pants,TansyArron/pants,dturner-tw/pants,jessrosenfield/pants,dturner-tw/pants,fkorotkov/pants,laurentgo/pants,15Dkatz/pants,jessrosenfield/pants,di0spyr0s/pants,megaserg/pants,pantsbuild/pants,pombredanne/pants,benjyw/pants,areitz/pants,15Dkatz/pants,jtrobec/pants,foursquare/pants,15Dkatz/pants,wisechengyi/pants,laurentgo/pants,tdyas/pants,ericzundel/pants,sid-kap/pants,baroquebobcat/pants,foursquare/pants,scode/pants,sid-kap/pants,TansyArron/pants,kslundberg/pants,megaserg/pants,digwanderlust/pants,Gabriel439/pants,dbentley/pants,cevaris/pants,kwlzn/pants,kslundberg/pants,ity/pants,tdyas/pants,di0spyr0s/pants,di0spyr0s/pants,dbentley/pants,pgroudas/pants,wisechengyi/pants,UnrememberMe/pants,tejal29/pants,tejal29/pants,mateor/pants,baroquebobcat/pants,cevaris/pants,baroquebobcat/pants,dbentley/pants,jtrobec/pants,jessrosenfield/pants,jsirois/pants,jtrobec/pants,dgomez10/xanon,areitz/pants,kwlzn/pants,Gabriel439/pants,15Dkatz/pants,peiyuwang/pants,UnrememberMe/pants,pantsbuild/pants,foursquare/pants,UnrememberMe/pants,landism/pants,dgomez10/xanon,tdyas/pants,UnrememberMe/pants,peiyuwang/pants,UnrememberMe/pants,ity/pants,sameerparekh/pants,dturner-tw/pants,tdyas/pants,baroquebobcat/pants,Gabriel439/pants,jessrosenfield/pants,benjyw/pants,digwanderlust/pants,manasapte/pants,fkorotkov/pants,pombredanne/pants,gmalmquist/pants,slyphon/pants,dturner-tw/pants,TansyArron/pants,gmalmquist/pants,dgomez10/xanon,wisechengyi/pants,mateor/pants,baroquebobcat/pants,qma/pants,fkorotkov/pants,manasapte/pants,gmalmquist/pants,fkorotkov/pants,jsirois/pants,tdyas/pants,sid-kap/pants,ity/pants,twitter/pants,ity/pants,dbentley/pants,UnrememberMe/pants,fkorotkov/pants,ericzundel/pants,qma/pants,twitter/pants,kslundberg/pants,benjyw/pants,di0spyr0s/pants,peiyuwang/pants,baroquebobcat/pants,laurentgo/pants,gmalmquist/pants,tejal29/pants,twitter/pants,tdyas/pants,cevaris/pants,digwanderlust/pants,jessrosenfield/pants,pgroudas/pants,lahosken/pants,slyphon/pants,sameerparekh/pants,Gabriel439/pants,ericzundel/pants,ity/pants,qma/pants,benjyw/pants,TansyArron/pants,wisechengyi/pants,areitz/pants,kwlzn/pants,15Dkatz/pants,foursquare/pants,scode/pants,TansyArron/pants,tdyas/pants,peiyuwang/pants,landism/pants,twitter/pants,foursquare/pants,dgomez10/xanon,benjyw/pants,kwlzn/pants,ericzundel/pants,kslundberg/pants,qma/pants,Gabriel439/pants,pombredanne/pants