Update PlexAPI.py

Added import modules needed. Also edited the discoverPMS function to add WakeOnLan(WOL) code. This will function only when the Settings.cfg file has:
enable_PlexGDM = False
ip_pms = set to the Plex server ip
mac_pms = set to the Plex server mac address

Also the server running PlexConnect needs the wakeonlan tool that can be installed on Linux clients (apt-get install wakeonlan) and the Plex server must respond to ping