table.unpack / unpack patch

Lua 5.2 moved unpack to table.unpack. Added check for that in files where unpack was found.