Patches to use replication_port, and add replication_options

replication_port was not being used in the CHANGE MASTER, that is fixed.

I also added a 'replication_options' option so I can provide arbitrary arguments to the CHANGE MASTER, for example enabling SSL replication:

replication_options=", MASTER_SSL=1, MASTER_SSL_CA='/etc/mysql/CA.pem', MASTER_SSL_CERT='/etc/mysql/server.pem', MASTER_SSL_KEY='/etc/mysql/server.key'"

The only messy bit is the preceding comma.