More fixes on the analyzer

Now a class file who imports the module class file is skipped from the
dependencies.