Fix settings display on macs

Qt widgets uses a default style that varies between platforms. On Linux, the default text is white, on mac its black.
The color of the text in the old settings aren’t configurable as it is (wouldn’t be difficult to do so)

Most themes are using a dark background, so on mac, using the old type settings is proving difficult as mostly unreadable.

So we redefine the style of most QWidget objects so it looks more similar to Linux.
This is done using Qt stylesheets. Where Qt stylesheets do not provided the intended behavior, we use QPalettes instead

(cherry picked from commit 96ecd539de8e76a880f0013b4b8854da216e17b1)

Conflicts:
	mythtv/libs/libmyth/mythwidgets.cpp
Bump API version

Following dca8f922a25e2ddd881ed0666f9cd9b3925c28e2, a full recompile is required
Fix AppleRemote thread not being killed when exiting the application

I’ve been seeing the error about the AppleRemote thread still running when quitting for years… had enough

(cherry picked from commit 42dd0a3470b401a59c36d22e9b0982a17db26a77)
Make python bindings work on mac

We play with the environment variable PYTHONPATH at run time so it points to the current location where the application bundle is located.
It assumes —with-python=python2.6 has been provided to configure (which the mac perl packager will do from now on)

(cherry picked from commit 66e6b5b7906eca45ae481df3c5911a6283eb225b)
Fix MythVideo general settings page not working

How long that one has been broken ???

The new MythUI screen is always on top, so it must be hidden when starting on old Qt screen…
Hopefully there are no more like this

(cherry picked from commit d7de3ff15162c6ce08ede065b5902bda31d1435f)
Revert "Bump API version"

This reverts commit c54c89865d430e2d106696695064ccd50bb88489.
Revert "Fix settings display on macs"

This reverts commit dca8f922a25e2ddd881ed0666f9cd9b3925c28e2.
Fix settings display on macs

My analysis for the problem in 96ecd539de8e76a880f0013b4b8854da216e17b1 was wrong.
The actual issue is that QPalette inheritance appears broken on a mac; if you set the palette to the top widget container, it doesn’t do anything on its children. However, setting the palette to the main application itself does.

Now things look exactly the same between mac and linux for better or worse. Including font sizes and colors.
A downside, is that the selection color appears to be misused in most themes including the default. So you can't tell if a text is selected or simply having focus

(cherry picked from commit 15425cb53e643a8c00975c1ef0ea7674464fdca2)
Fix old Qt setting screens preventing them from accepting keyboard inputs

Hopefully this is the final fix…
The issue seems to only have occurred on macs. When opening two MythDialogs (that includes MythPopup) in a row, often the 2nd one would not accept any used input anymore, only causing a “beep”; making it impossible to even exit that window.

The existing logic (and there was nothing wrong with it) was to simply disable the current MythDialog and put the new one on top of it. However, when doing so, somehow key events are now ignored.
So instead, we now disable all widgets within that MythDialog, without disabling the dialog itself.

When doing so, the newly created MythDialog is always working as expected.
This code should not be necessary, it is a workaround to what appears to be a Qt bug.

Fixes #11990.

(cherry picked from commit 9edb6d6c4aa0ed930be222ddd32cfc008d709d9f)