ImportScope now checks before returning new scope that the old scope is not the same as the Import.module. If it is the same it returns the Import.module so a self reference can be avoided.
Merge pull request #138 from esdrubal/ImportScope

Avoid self reference in ImportScope.