Lua => Lua52

This should resolve *most* of the remaining build issues. There are
still a couple of things that are badly screwed, but we’re getting
there. This should be a big step of progress, hopefully. Rebase to
follow.