Add LUA 5.4 support to VLC
Compiling VLC with LUA 5.4 (instead of LUA 5.2) breaks at least the http module with the following error message:
[http] lua interface error: Error loading script /usr/lib/vlc/lua/intf/http.luac: lua/modules/common.lua:3: attempt to call a nil value (global 'module')
This way to declare a module is deprecated as explained here: http://lua-users.org/wiki/ModulesTutorial
All lua script needs to be updated to be compatible with LUA 5.4. The new syntax is compatible with LUA 5.2 (tested), but maybe older LUA version are not compatible (not tested)