Clean up transactions.

There's no need for accounts to track splits or splits to have pointers
to their accounts if transaction will be used as the models to be stored
in datastore, so remove it. Also add a way to reference accounts by
int64, since that's what we'll get back from datastore.