Handle StorageException in ModifyEntity

UnresolvedRedirectException and BadRevisionException
are types (subclass) of StorageException and
can be treated in a general way in the api module.

Bug: 68086
Change-Id: I2dbad1e208c60fb7c3debe97ad7fb91f742bda9e
Merge "Handle StorageException in ModifyEntity"