Update global.lua and deathlist scripts

LuaSQL compatibility class was removed.
Deathlist scripts are updated to use the db and result Lua functions.
Fix bug in Ban::acceptConnection

lastAttempt time was being updated to currentTime before timeDiff was
evaluated, resulting in timeDiff always being 0 (currentTime -
currentTime). This was causing the 4th connection to the server to
always timeout for at least 3 seconds, even if the client wasn't
connecting too fast.