Dns: fix memory leak when events are set
Http: fix memory leaks when cleaning up our per-tx storage
stream: clean up queue list in all cases
Http: improve tx data cleanup
DNS: free TX events using proper function
Change ParseSize api to not leak memory and only setup pcre once.
Properly cleanup NSS ctx
profiling: don't alloc 0 bytes block if no rules are used
profiling: properly clean up thread local memory.
mpm: clean up stream thread ctx
pcre: check for pcre_free_study, fall back to pcre_free if it unavailable