Allow null/void this types. Fixes issue 1201
R=johnlenz
Handle constructor aliases better for commonjs modules. Fixes issue 1244
R=johnlenz