Changed all Lua classes to make Eclipse LDT outline methods

I've also created a build test script for Lua classes to check that:
* A class can have its methods outlined by Eclipse's LDT plugin.
* Mistakes haven't been made in a class's first statements which
would prevent its methods from being declared.

This is the regular expression this test script uses:
**^class "(.+)".*\n\n(?!---@type \1\nlocal \1 = _G\["\1"])**

It can be tested with this: http://www.pythonregex.com/

Test code you could copy & paste into this web tool and/or the debug_script: the regex shouldn't find any problems with these class declaration statements:
```
class "Car" (Vehicle)

---@type Car
local Car = _G["Car"]


class "Person"

---@type Person
local Person = _G["Person"]
```

I've carefully double checked all of my class script changes to make sure there's no mistakes.