This commit is the second in a series that will eventually persist the
AccountCache on disk in a similar fashion as we do for other caches.
As prerequisite, we want to {de}serialize the different parts of
AccountState.
Change-Id: I5f74b124b3b08619d1d1ad3e0b8b55a39fb85c13