Block completion list on import declaration name and fix the crash in sy...

...mbol display name when import declaration is incomplete

Fixes #991
i would have split this into two tests, one for completion after import, and one for the crash.