Allow for late initialization in NPM Three module by remembering self.

Self should default to window rather than {} in the NPM module header (header.js).

We want to remember self as Three.self in the NPM module footer (footer.js) to allow for late initialization of Three internals within the same context as Three itself.  This is particularly important for loading Font specifications (*.typeface.js).