Fix in autocomplete for insertion of completion item and closing completion window

This is a fix for a regression caused by an earlier PR: https://github.com/DynamoDS/Dynamo/pull/2990

The earlier fix was to allow auto-insertion of the completion item only on certain keystrokes such as Tab, Enter, and '.' 

Since the act of insertion would also close the completion window automatically, after the above change, the completion window would not close on all other keystrokes. This fix adds another condition that ensures the completion window is closed for all other keystrokes that are not alphanumeric characters.

@Benglin sorry for the repeat PR. I should have anticipated this before.
I'm not sure of this syntax. Does not compile.