Dev app layer cleanups v0.6

- PR build: https://buildbot.suricata-ids.org/builders/inliniac/builds/150
- PR pcaps: https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/70