Allow `this` (global scope) to be null during module initialization

This is in preparation for ES6ifying things at some point.
Merge pull request #3846 from joliss/this

Allow `this` (global scope) to be null during module initialization