Make enum tables optionally public

And only expose the public ones to Lua. For the JSON savefiles, I want to have some enums in EnumStrings so I can use them, but I don't necessarily want Lua to see them. So now we have to explicitly mark ones that should go to Lua.