Build with Lua 5.2 without LUA_COMPAT_MODULE flag.
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
Fix. use table.unpack in mimetest on Lua 5.2.
Merge branch 'unstable' of git://github.com/diegonehab/luasocket into moteus-lua52
Export global only if LUA_COMPAT_MODULE defined.