Enable schema changes on master of HA cluster.

Remove HA concept from kernel; replaced with SchemaChangeGuard.
Replace ReadOnlyStatementOperations with guard on upgrading
transaction for data write or schema write.