app_lua: added internal alternative to luaL_openlib()