Python3 port of the monitor.py file that allows automagic reloading of the Mod_WSGI Daemon.