Enhance the validation.
Configure the length of the key.
Untabify versionlock method
Don't versionlock packages whose version is a *.
Refactor versionlock

It was getting too long, with too many comments, and there are some
intrusive changes in the pipeline.
current production code
replace double comment hash
align with current production
use proper backup suffixes (all timestamped)
add basic test case
fix remarks
refactor move_slapdd code
Add unit tests for the locked_all_packages method.
Add unit tests for prepare-lock-lists.
Improve the tests for versionlocking.
Test for the KRB5-related authconfig parameters.
Document the KRB5 tests.
Test the SMB authentication methods.
Test the NIS authentication methods
Test the Hesiod configuration.