Enable usage of new UI Automation features in Windows 8 and later.
* UIAHandler: create the UIAutomation client object with CUIAutomation8 if possible. Also QueryInterface to IUIAutomation3 or IUIAutomation2 if available.
* UIA NVDAObject: add a UIATextEditPattern getter.
Fixes #5900.