Log API v1.10

Rebase of https://github.com/inliniac/suricata/pull/718

Changes:
- rebase against master
- intro of AppLayerParserProtocolIsTxAware API call

Prscript:
https://buildbot.suricata-ids.org/builders/inliniac/builds/118
https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/39 (1 expected failure)