Include the transaction ID in commit log records.

We don't need it right in recovery at the moment, but it will help with debugging and we may need it in future.
Fix setting the checkpoint LSN for log archive.

The main issue was that after a backup, the metadata is recreated from scratch, so we can't rely on the turtle file having an LSN in the range of active log files.