THRIFT-2067 C++: all generated objects provide ostream operator<<

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