Account migration

End of @alexis-via's work. See #24
`account_id` was added again in commit 5ae60d8a2d432cf3280487743b9f413f6ef27e08 to fix PoS issue #932 and is actually used to generate the journal entry. We still need to test if draft bank statement in v7 can be correctly validated after migration to v8.