Add #include guards for HAS_PYTHON

This fixes compile of Addon.cpp and Weather.cpp if HAS_PYTHON is not defined
Remove Python dialogs when compiling without Python

cherry-picked from https://github.com/plexinc/plex-home-theater-public/commit/f76df3e72