add support for Lua 5.2

would be nice if yo ucould tag it as v0.4 afterwards.

Thanks!