Allow tmdb3.py to use $MYTHCONFDIR as a cache location.

This makes tmdb3.py follow the standard behavior of using MYTHCONFDIR,
falling back to HOME, for its selection of scratch space. This also adds
explicit error reporting to stdout when something goes wrong.

Refs #11876

(cherry picked from commit 2c50a824be1f3083ca966ff0309ea39854452b29)
Some HLS tweaks to make recording more robust when faced with unreliable
feeds.

(cherry picked from commit 7f8dd24816a251d51b3cb42173d7dd19a4ba1a52)
Rewrite qmake detection to better support Qt5
Rewrite qmake detection to better support Qt5 - plugins
Resolve X11/Xlib.h define of Bool and Qt5 (5.2)

Xlib.h has a "#define Bool int", which causes compilation issues with other uses of
Bool, specifically in qsonvalue.h in Qt5.  This patch rearranges the MythTV source file
includes to bypass the issue.

Fixes #12065
Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>

Signed-off-by: Stuart Auchterlonie <stuarta@mythtv.org>
Remove check_cxxflags which doesn't work
Fix mythnetvision.pro for Qt5
Enable compilation of a couple of files that were disabled on Qt5 because they are apparently not compatible. They build, so let them.
Merge branch 'fixes/0.27' into stable/0.27