Fixed uninitialized value in CompileGlobalVar

git-svn-id: https://angelscript.svn.sourceforge.net/svnroot/angelscript/trunk@1539 404ce1b2-830e-0410-a2e2-b09542c77caf
Improved the criteria for marking script classes as garbage collected by taking advantage of 'final'

git-svn-id: https://angelscript.svn.sourceforge.net/svnroot/angelscript/trunk@1540 404ce1b2-830e-0410-a2e2-b09542c77caf
Script arrays could be falsely marked as non-garbage collected as the asOBJ_GC flag wasn't set when the template callback was invoked

git-svn-id: https://angelscript.svn.sourceforge.net/svnroot/angelscript/trunk@1541 404ce1b2-830e-0410-a2e2-b09542c77caf