- Implement KeyConfirmationQueue.delete_expired_queue_items to delete items
older than a given number of hours.
- Introduce configuration parameter to specify maximum number of hours. It
defaults to 1 hour.
- Update documentation to explain that we never assign ST_TO_BE_DELETED.
- Set nullability of columns.
- Set up primary keys and auto-increment where necessary.
- Add missing 'lacre_locks' table.
- Implement a function to create tables.
Introduce new Python modules:
- lacre.notify -- to send notifications from the cron script;
- lacre.dbschema -- to keep database schema definition as code (SQLAlchemy);
- lacre.repositories -- to define key and identity repositories with high
level APIs that we can then use elsewhere.
Also:
- rework GnuPG.add_key to return fingerprint so we can use it in the cron
script;
- rename cron-job's logger name, replacing dash with an underscore as logging
module doesn't like dashes.