support lua 5.2
replace lua_open
Merge pull request #84 from take-cheeze/lua52_support

Lua5.2 support