THRIFT-2100 typedefs are not correctly referenced when including from other thrift files

Patch: Remo Hertig
diff --git a/lib/go/test/IncludesTest.thrift b/lib/go/test/IncludesTest.thrift
index 6b68806..6c7308b 100644
--- a/lib/go/test/IncludesTest.thrift
+++ b/lib/go/test/IncludesTest.thrift
@@ -28,6 +28,7 @@
 
 struct TestStruct2 {
   1: testStruct blah,
+  2: ThriftTest.UserId id
 }
 
 service testService extends ThriftTest.SecondService {