Fixes "is not", "not in" syntax usage.

Replaced "not ... is" to "is not"
Replaced "not ... in" to "not in"
Removed a redundant parenthesis

Change-Id: I9564ab1207ccdcb32d7c2bb9e8f29658b2232ff9
Implements import_group

Created import_group method in cfg.py
Added testcases

Fixes bug #1107843

Change-Id: I427d4069dacbb6e586687370adbb08b5d50f7b63