Minor refactor to improve readability.
Do not suggest ids in auto completion from imported modules ending on empty list '()'.
Added support for auto completion in import spec list.