Coverity 1038111: fix local overrun of a string in app layer proto detect setup code.
Move SIMD implementations out of detect.c

Move SIMD the implementations of SigMatchSignaturesBuildMatchArray()
for SSE3 and Tile out of detect.c to reduce the size of the file.

Also moved SIMD unit tests to detect-simd.c
Coverity 1038133 fix

Clean up parsing code to suppress Coverity:
Dereference before null check (REVERSE_INULL)

Proper checking was already done.
Coverity 1038135 fix

Small cleanup in the error handling. The extra null check confused
Coverity.
Coverity 1038134 fix

Cleaned up error check. "ipdup" can only be non-NULL there, so remove check
that confused coverity.
Coverity 1038138 fix

Clean up parsing code to suppress Coverity:
Dereference before null check (REVERSE_INULL)

Proper checking was already done.
geoip: never try to store more locations than possible (Coverity 1038517)
Fix memory leak on invalid luajit signature. Coverity 1038520.
Coverity 1038129 fix

Don't leak memory on malloc error in b2gm mpm implementation.
Coverity 400477: pcre_get_substring retval

Add missing return code check to pcre_get_substring call.
Coverity 1038089: error check fseek call
Coverity 1038094: remove dead code from defrag hash
Coverity 1038095: remove dead code from defrag hash timeout code
Coverity 1038098: remove dead code from flow hash
Coverity 1038099: remove dead code from flow hash timeout code
Coverity 1038100: remove dead code from flow hash timeout code(2)
Coverity 1038101: remove dead code from host hash timeout code
Coverity 1038102: remove dead code from host hash
Modify handling of negated content.

The old behaviour of returning a failure if we found a pattern while
matching on negated content is now changed to continuing searching
for other combinations where we don't find the pattern for the
negated content.

Thanks to Will Metcalf for reporting this.
unified2: fix tags not being logged. Bug #968