Add support for "import * as m from 'm'"

This keeps the old syntx in place. It will be removed in a seperate
PR since self hosting requires this two step process.

Partial fix for #1119