Starting render the AST test.

Add ImportPathFoundSelector interface, change typeCheckedPackage to use
it.
Add optional RenderFunc to CustomWidget.
Update NewTest4Widget to new api.