ctdb-client: Store db_flags instead of a boolean persistent flag