Keys remember whether to use deprecated syntax

and the deprecated key handler registers itself with the base key type
LMS-2752
Increased test coverage
fixup! Keys remember whether to use deprecated syntax
fixup! Increased test coverage