Profiling v1.1

Improves profiling:
- adds option to profile only sub set of packets (like one per 1000), idea from @ken-tilera
- adds profiling to new Log API
- minor fixes

Prscript:
- PR build: https://buildbot.suricata-ids.org/builders/inliniac/builds/174
- PR pcaps: https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/94