Simplify overly long fully specified type names by stripping out the current

namespace prefix if possible. Properly include "types.h" for regular
(non-interface) types. Emit full names where appropriate.
diff --git a/Scope.cpp b/Scope.cpp
index ee2b51c..5e8e687 100644
--- a/Scope.cpp
+++ b/Scope.cpp
@@ -58,7 +58,7 @@
     Interface *iface = getInterface();
 
     if (iface != NULL) {
-        *ifaceName = iface->name();
+        *ifaceName = iface->localName();
         return true;
     }