ClipitRating: fixed get_averate_target_rating, which was always returning 0
UBMessage: added $update_flag so that set_read_status does not save unnecessary changes