Refactor account record handling; #1160
Refactor transaction record handling; #1129, #1160
Merge branch 'develop' into undo
god -> GOD
Hack to fix undo state creation
Clean up block_record creation