MySQL analyzer
Get MySQL to compile and add basic v9 support.
Update baselines.
Add memleak and auth btests.
Whitespace/readability fixes.
Redo the response handling..
Add support for more commands, and support quit
Add a btest for the Wireshark sample MySQL PCAP
Merge remote-tracking branch 'origin/master' into topic/vladg/mysql

Conflicts:
	testing/btest/Baseline/coverage.bare-load-baseline/canonified_loaded_scripts.log
	testing/btest/Baseline/coverage.default-load-baseline/canonified_loaded_scripts.log
	testing/btest/Baseline/scripts.policy.misc.dump-events/all-events.log
Move MySQL analyzer to the new plugin architecture.
BIT-1280: Fix checking vector indices via "in".

$ cat test.bro
local vec: vector of string = { "zero" };
vec[2] = "two";
print 0 in vec, 1 in vec, 2 in vec;

$ bro -b test.bro
T, F, T
Merge remote-tracking branch 'origin/fastpath'

* origin/fastpath:
  Fix checking of fwrite return values

Some didn't look quite right so fixed while merging: the return value of
fwrite is in terms of number of objects written, not number of bytes
written and some calls still mixed those up.
Fix segfault if when statement's RHS is unitialized.

If it is ever assigned a value, the body of the when can be triggered as
usual.

Addresses BIT-1176.
Fix some minor Coverity Scan complaints.
Add configure options to fine tune local state dirs used by BroControl.

--logdir: logs produced at run time
--spooldir: other data produced at run time
--localstatedir: contains spool or log dirs if those options aren't set

Addresses BIT-1166.
Merge remote-tracking branch 'origin/topic/jsiwek/bit-1166'

* origin/topic/jsiwek/bit-1166:
  Add configure options to fine tune local state dirs used by BroControl.

BIT-1166 #close
Allow arbitrary when statement timeout expressions

BIT-1284 #close
A bit of MySQL cleanup - removed unused events, consolidated similar events, fixed up main.bro a bit
Integrate MySQL with the software framework
BIT-1283: Fix crash when using &encrypt.