Delayed the callback to template instances further so the template can know if the script class will be garbage collected or not.

git-svn-id: http://svn.code.sf.net/p/angelscript/code/trunk/sdk@2031 404ce1b2-830e-0410-a2e2-b09542c77caf