Parse gtid events

:))
I'm trying to restore the gtid format
see http://dev.mysql.com/doc/refman/5.6/en/replication-gtids-concepts.html

Couldn't find a better implementation of it :/