Add custom main support by reading package.lua
Add custom main support by reading package.lua

zhaozg/luvi,joerg-krause/luvi,joerg-krause/luvi,luvit/luvi,virgo-agent-toolkit/luvi,kidaa/luvi,brimworks/luvi,virgo-agent-toolkit/luvi,luvit/luvi,zhaozg/luvi,brimworks/luvi