UIARemote msWord_getCustomAttributeValue: add remote logging, and accept docElement as an argument, rather than fetching the enclosing element of the textRange. Saves a call and also reflects Micrsoft's own test code more closely.
UIARemote: move loading / initialization of the remote ops library into its own Python function to allow unit tests to continue to pass. Unit tests do not require this library.
nvdaHelper UIARemote: remove the need to define `_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING` by converting the const char* from exception::what to wchar_t using multibyteToWideChar as recommended by the compiler warning, rather than using wstring_convert deprecated in c++17.