I still haven't figured out what Gym control means. I have tried every proposed permutation. Team color of gym, own mon in gym, full motivation team color gym, full motivation of own mon in gym, none seem to be consistent. Unless, from that picture, it means ONLY members from that team are in the fight for properly colored gyms (that's something I haven't tried).
Also, I would imagine that the damage bonus is individual (since you already get a team bonus underneath). What the cut off is, I don't know, but you do still get the bonus if you have to rejoin the battle. I got a +2 bonus when I died and rejoinned during a lugia raid (I used 9 mons in one battle since everyone else had at least one blissey going).