fixed for lua5.2 -- module() call is obsolete

Hello Yuri,

I tried to remove the use of module() what is removed in lua >=5.2 but without breaking compatibility

The tests pass with success.

github/lua-diff$ LUA_PATH='lua/?.lua' lua tests/basic.lua && echo ok
ok

Best Regards,