SI-7995 completion imported vars and vals

Imported member vals and vars were always marked inaccessible, even
if referencing them at the location of the completion is valid in code.
The accessible flag is now set accordingly to the accessibility of the getter.
Merge pull request #3222 from skyluc/issue/completion-import-vals-210-7995

SI-7995 completion imported vars and vals