InitImportsVisitor is now deprecated; use TypeBuilder instead.

Moved operations in InitImportsVisitor to appropriate places.
ImportTableInitialized is now an empty goal.

Added relevant test cases.