Filter out non-physical classes in DefaultClassNavigationContributor

For example, in scala plugin we have fake companion classes. They are paired with real ones and have same containing file, but they are non-physical.