Added a new Debug_LuaStatic configuration.

This re-enables plugin debugging using Decoda, lost when we moved Lua out to a DLL.
Fixed LuaStatic intermediate and output folders.