Dev app tx cleanup v1.1

https://buildbot.suricata-ids.org/builders/inliniac/builds/87                                                                                                                                                
https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/8