Dev app tx cleanup v1.2

Preparing work for allowing us to disable the detection engine.

https://buildbot.suricata-ids.org/builders/inliniac/builds/88
https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/9