[sr-dev] [kamailio/kamailio] app_lua: add functions for handling script flags (#666)