Pcap-log improvements v2

Rebase of https://github.com/inliniac/suricata/pull/749

Prscript:
- PR build: https://buildbot.suricata-ids.org/builders/inliniac/builds/165
- PR pcaps: https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/85