Fix to enclosingClass
Fix to enclosingClass

The skip logic in enclosing class worked only when the original symbol was labelled
inSuperCall. The patch makes it work also for symbols that are in turn owned by an
inSuperCall symbol. Also it treats JavaStatic terms as also not being enclosed by
the lexically enclosing class.

spetz911/dotty,sjrd/dotty,densh/dotty,VladimirNik/dotty,sjrd/dotty,svalaskevicius/dotty,VladimirNik/dotty,folone/dotty,vsalvis/dotty,dotty-staging/dotty,lampepfl/dotty,lampepfl/dotty,som-snytt/dotty,lampepfl/dotty,auvik/dotty,yusuke2255/dotty,som-snytt/dotty,angi2/dotty,sjrd/dotty,densh/dotty,svalaskevicius/dotty,dotty-staging/dotty,folone/dotty,lampepfl/dotty,lampepfl/dotty,sjrd/dotty,dotty-staging/dotty,auvik/dotty,som-snytt/dotty,som-snytt/dotty,vsalvis/dotty,reactormonk/dotty,dotty-staging/dotty,sjrd/dotty,AlexSikia/dotty,AlexSikia/dotty,spetz911/dotty,som-snytt/dotty,dotty-staging/dotty,reactormonk/dotty,yusuke2255/dotty,angi2/dotty