REORG: applet: Uninline appctx_new function

appctx_new() is moved in the C file and appctx_init() is now private.
2 files changed