Fix BinlogInfo() for GTID.
Support JSON marshal/unmarshal of GTIDField.
Refactor binlog package for GTID support.