Removed Lua 5.2 functions lua_len and lua_tointegerx

This fixes issue #71.