Extract the state changes from the ensure storage method

Instead of having the ensure storage (which ensures the
atom/s storage details exist) also change the state of
the flow have the prepare method which calls into ensure
storage do these state changes instead.

Change-Id: Ic7cd13ab360e68fc33e94c67a237adeef7040159
Remove direct usage of the deprecated notifier location

Internally we should be using the new location and not the
deprecated location wherever possible. This avoids emitting
warnings messages on our own code, which is a dirty habit.

Change-Id: Icc389e61613bc78e64083f0086f6f23aabd243d1
Remove direct usage of the deprecated failure location

Internally we should be using the new location and not the
deprecated location wherever possible. This avoids emitting
warnings messages on our own code, which is a dirty habit.

Change-Id: Idac5a772eca7529d92542ada3be1cea092880e25
Handle the case where '_exc_type_names' is empty

If '_exc_type_names' is empty we want to avoid having a
index error or type error and want to handle just not writing
out the first exception type name and instead just write
out the exception text string.

Change-Id: I29fd740fd7052f73975d84ec03455170c420ca89
Updated from global requirements

Change-Id: I3af87566b255957c273a8b9f392425877394ce8a
Merge "Handle the case where '_exc_type_names' is empty"
Merge "Extract the state changes from the ensure storage method"
Merge "Remove direct usage of the deprecated notifier location"
Merge "Remove direct usage of the deprecated failure location"