WL#7205: Make the MTR rpl suite GTID_MODE agnostic

Affects: Server-5.6   —   Status: Complete

GOAL
----

  This worklog aims at making the MTR rpl suite GTID_MODE
  agnostic, so that we can have run it daily on pushbuild with
  --gtid-mode=ON.

INTRODUCTION
------------

  To keep coverage figures acceptable for the GTIDs feature, we want
  to start running the rpl suite with the following switches:

  --gtid-mode=on --enforce-gtid-consistency --log-slave-updates

  But due to the fact that MTR is result file oriented, we end up in a
  bad situation to make this happen (mostly because commands like SHOW
  BINLOG EVENTS or the output of mysqlbinlog prints out more
  information when GTIDs are turned on. This breaks many tests due to
  result file difference. There are more problems, but these are the 
  most recurring ones.
  There are some tests, which rely on binlog positions or
  non-supported features when --gtid-mode=ON, that will fail, those
  tests must be identified and protected with
  include/not_gtid_enabled.inc.

  We should deprecate –-sync_slave_with_master (and lookalikes) and
  only use include/sync_slave_sql_with_master.inc (or siblings) which
  already know how to wait for positions or GTIDs.


  The goal of this worklog is to fix this.

REFERENCES
----------
  WL#6663: Make the MTR binlog suite GTID_MODE agnostic
  WL#6921: Migrate rpl suite to run with innodb engine