[wip] lua output v22.0

Adds flow logging in https://github.com/inliniac/suricata/commit/780d7396cb052fda080ff81d5ec0251b47e70e6e

Other than that the same as https://github.com/inliniac/suricata/pull/1062