Further split transaction support

Converted some hard-coding into a loop
Implemented High Water Mark for ledger

Procedure TAccountList.UpdateHighWaterMark
Further loopification for split support
Update posted flag when posting journal entries
Update transaction number when posting to the ledger

Stores the number of the most recently posted transaction to the ledger
when posting journal entries.