Implicit hint requests only on enter and tab keydown events

Addresses #2561 by setting lastChar on keydown events only when the key code describes an enter, return or tab key without modifiers.

This prevents lastChar from being set incorrectly on compound key events. E.g., lastChar is now not set to 'V' on a command-V keydown event. 

CC @redmunds