Fixed bug with loading bytecode that used registered value types that could cause unexpected behaviour

git-svn-id: https://angelscript.svn.sourceforge.net/svnroot/angelscript/trunk@1558 404ce1b2-830e-0410-a2e2-b09542c77caf
Working on the support for multiple template subtypes

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