[lua] Removed unused template functions
[lua] Fixed ModuleInfo's constructor signature