Offload detect v1.2

Updated PR with a rebase to current master and a fix of the warning message in PCAP mode.

PR build: https://buildbot.suricata-ids.org/builders/regit/builds/52