backport: journal file end check

Correct detection of journal end position.

4a21001  Merge branch 'journal_file_end_check' into 'master'
1b07a79  journal: correct file end position detection
fbc4690  tests: journal, added 10x rollover, random item size
backport: DNSSEC Single-Type Signing Scheme

Original commits:

6319974  Merge branch 'dnssec-per-algorithm-single-type-signing' into 'master'
13a040d  review: fix comments
824457a  fix compatibility with old compilers
e872962  DNSSEC tests: algorithm dependent Single-Type Signing Scheme
3c54c08  DNSSEC: algorithm dependent Single-Type Signing Scheme

7cf0015  Merge branch 'dnssec-single-type-signing' into 'master'
ae26a39  DNSSEC: single-type signing documentation
41b0aab  tests-extra: consider single-type signing in dnskey_algorithms
17c77f4  tests-extra: DNSSEC Single-Type Signing Schema
844b53a  tests-extra: dnssec-verify, ignore KSK flag setting
db4d461  DNSSEC: allow Single-Type Signing Scheme
16d2231  DNSSEC: handle KSK and ZSK independenlty, do not sign DNSKEY with ZSK