Simulating document.currentScript when executing Aria Templates in nodejs.
Debug mode option when running Aria Templates in node.js

Enabling the debug mode is especially useful for skin normalization,
so that wrong skin properties are reported.
Adding a new CheckGlobals visitor.