Various variable related fixes:
+ for the mysql test suite, boolean values should be upper cased, i.e. YES/NO instead of yes/no
+ make sure that alter dve set ... for a session variable sets the persistent value and broadcasts
  to the global map so that next connections get the new default session value.
+ make query_cache_type & friends be emulated but not passthrough to avoid problems on startup for now.