Rewrite import-commonjs to use matchesAst()
Rewrite import-commonjs to use matchesAst()

All these conditionals are now expressed with simple AST patterns
and the needed fields are extracted with ease.

lebab/lebab,mohebifar/xto6,mohebifar/lebab