Defer addAutopromoteOnceGroups to transaction idle

* Extension callbacks in that method can be slow and show up in
  dbperformance.log sometimes.

Change-Id: Idc30c29826e18c4e3287b06d4ce7bae72602e0ea
Merge "Defer addAutopromoteOnceGroups to transaction idle"