Cleaned up lastseen handling and increased logging verbosity

Shouldn't have any effect in functionality.
Do not fail lookup even if db is inconsistent.
Raising logging level of lastseen db inconsistencies...

... at least for some time in master, so that we notice when it occurs.
No need for stupid risks.
Redefine what inconsistent lastseen db is

Document thoroughly via a bunch of tests.