Change commit() to commitAllowingStateLoss()

- Following the pattern in Email and Gmail, we change all commit() to commitAllowingStateLoss().
  At least this will stop the monkey ISE.
Bug: 5167769
Bug: 5179918

Change-Id: Ibee8380a0f854aeb30bc3c4359fb706faf4efb4b
8 files changed