WIP Implement MASTER_AUTO_POSITION

Hello,
here is a WIP of mysql replication with MASTER_AUTO_POSITION. Let me know what you think. I will try to implement a travis test for this but it does require mysql 5.6 which is a bit tricky to setup there.