Dev log rollover v4 - Signal Based Logfile Rotation

Deprecates PR #871.

This PR is just a rebase.

Buildbot:
- PR build: https://buildbot.suricata-ids.org/builders/jasonish/builds/62
- PR pcaps: https://buildbot.suricata-ids.org/builders/jasonish-pcap/builds/16