Correct account assignment in transactions.

Turns out that the element variable in range loops are not equivalent to
array indices: it's a separate value that every element gets copied
into!
Implement PropertyLoadSaver for Account.

This allows storing the total in datastore while keeping it hidden in Go
code.
Include the total in the Account JSON.
Add account total to the splits list.