Change the read_only flag to ONLY mean that transactions with changes cannot commit. Specifically it now means that the database CAN change if it is a slave in a HA setup.

Format according to new scheme
Merge pull request #3309 from rickardoberg/readonlychange

read_only change