Use strict txid parsing when reading swap updates and static address
loop-ins from SQL rows. Empty swap update txids still mean "absent",
but any non-empty truncated value now fails loudly.
Add store-level tests that inject truncated txids through the query
layer and assert that the fetch paths reject them.
This commit changes the time parsing function to use the time.Parse
function instead of the prior manual parsing. Only if the year is
far in the future, we replace it with the current year.
This commit fixes faulty timestamps caused by using unix milliseconds
as unix seconds on startup.
This commit also adds a test for the lightning-terminal issue that first
reported the bug.