Properly detect the package for inner classes, to fix issue where a class would import it's own subclasses.
Small cleanup, remove some old useless comments.
Handle QualifiedName visits in the walker, instead of outputting a entry for every peice of a qualified name.