lua output v24.1

Enables more 'packet' keywords for detection scripts. Replaces #1109 

Prscript:
- PR build: https://buildbot.openinfosecfoundation.org/builders/inliniac/builds/18
- PR pcaps: https://buildbot.openinfosecfoundation.org/builders/inliniac-pcap/builds/18