lua*: restore version in module paths

(like in upstream)
lua: choice between 5.1.x & 5.2.x
lua: add official patches

from http://www.lua.org/bugs.html
lua-modules: choice between Lua 5.1.x & Lua 5.2.x