Add rollback to SQLite3Persistence.
Factor out last_block_index().
Mark Spendable as used only after Tx created.