dns memcap v0.3

https://github.com/inliniac/suricata/pull/788 with event support.

Prscript:
- PR build: https://buildbot.suricata-ids.org/builders/inliniac/builds/154
- PR pcaps: https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/74