Added ability to query thetvdb for program information.

Added ability to query thetvdb for program information.
Updated code to pep8 coding style.