App Layer TX cleanup v1.4

Patchset in preparation of option to disable detection module. Currently TX timeout depends on inspect_id handling, which is controlled by the detection engine.

This patchset adds a simple API for registering a function to handle the ID's. By default, the inspect and log id's are taken into account, where just like before, the log_id is only considered if a logger is enabled for that protocol.

- PR build: https://buildbot.suricata-ids.org/builders/inliniac/builds/98
- PR pcaps: https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/19