Global execution

Currently `var` statements are not created as globals for the global execution layer, which can cause random libraries to break.

For things to work without errors like this, we need a global scope evaluation.

This is testing out an idea for this, that would apply only for the global script loading layer of the loader (potentially AMD and CommonJS too if necessary though).

It still needs work - this is just the prototype.