Just use onfocusin as a detection test for focusin support

Due to various restrictions on what dojo/on can depend on,
and a desire to resolve this issue so that a release can be issued,
simply check for a matching event key on the has-test element.
This stops focusin/focusout from being used in WebKit and Blink
in lieu of event capturing, which is not ideal, but is not any
worse than what was happening before.

Refs #17599.

(cherry picked from commit 81e1c7d6b52e2f42a3bbc8259f875bd83aaa8541)
(cherry picked from commit df47713a809bb5dfdd9a6dad472b6693c501b866)