Merge branch 'stable-3.1'

* stable-3.1:
  Remove unused exceptions
  Revert "Check if full name and email edit are allowed in realm"

PutOwner: Adapt to latest master API for AccountGroup UUID. Switch to
the snapshot API so the latter fix compiles and runs.

Change-Id: Iae0217e472fa05f0fb7902c18f9e7232d9219847