Verify user-entered key sequences by trying to bind them with tk. Add tests for all 3 validation functions. Original patch by G Polo. Tests added by Cheryl Sabella. (cherry picked from commit 8c78aa7)
8c78aa7
(cherry picked from commit a0e911b)
a0e911b
Where needed, add minimal tests to cover changes.