Revert "Revert "ENH: iohub keyboard event comparison""

This reverts commit 5318365da887e511b270bd9ea6b4033e7e9773cb.