Implement MASTER_AUTO_POSITION

Hello,
here is an implementation of mysql replication with MASTER_AUTO_POSITION.

I didn't know six. Nice