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

This is in preparation of ES6ifying things. (Don't hold your breath for the actual ES6ification, there may be some blockers.)