(cherry picked from commit cd791bd855b55b95afc8a5c8f56b8bf67863d099)
This change introduces a global, per-state cache that keeps account data in the canon state. Thanks to @karalabe for lots of fixes. (cherry picked from commit a59a93f476434f2805c8fd3e10bf1b2f579b078f)