Document rationale for entity groups in Invites.

Also take backwards compatibility stuff out of the loop of transaction
retries, and fix indentation problems.