Add @Generated annotation to Thrift classes

This allows other tools to introspect on the class and determine that
it is machine-generated.

Original patch by Arvind Jayaprakash <apache@anomalizer.net>