Use OrderedDict for modmask2str
Move fake_keyevent to test.helpers
Add tests for key_to_string and keyevent_to_string.