Add event for text-field focusing.

This is a fairly simple event, the main purpose of it is to allow mods that have 'global'
hotkeys to disable them when a text field is active so they don't fire off accidentally.