Better detect focus on incorrect UI elements when requireWindowFocus is specified.
Ignoring TypingTest.testFunctionKeys for Java.

CI build recently moved to using requireWindowFocus for testing IE. When
this capability is used, the F4 key leaves the focus in the address bar of
IE instead of being able to reset focus to the browser canvas. Ignoring
this test for IE.