Defines a global variable in the global scope with lua object value.
value
LuaObject defGlobal(LuaObject value) { return global.defVar(value.id, value); }