WIP Implement MASTER_AUTO_POSITION

Hello,
here is a WIP of mysql replication with MASTER_AUTO_POSITION. Let me know what you think.
Nice idea