Added lua, converted from MingW to visual studio

Added lua, fixed the editor to compile on microsoft visual studio 2010.