changed type of controlStack
moved definision of ControlInfo and ControlType to script2asm.h
made list of functions and list of global value to be saved to one map
updated syntax of function definition: returntype is no longer used
added enum ScriptStatus