replace lua_open with luaL_newstate()

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>