WL#6663: Make the MTR binlog suite GTID_MODE agnostic

Affects: Server-5.6   —   Status: Complete

GOAL
----

  This worklog aims at making the MTR binlog 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 binlog 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.

  The goal of this worklog is to fix this.