Added get_episode.
Added GET episodes support.
Changed add_episode to support updating with ON DUPLICATE KEY UPDATE. Didnt use REPLACE INTO because breaking table indexing will cause slow down over time.
Changed clear to clear_database. Removed old non-working log function.
Added clear function for testing.
Changed add_episode to follow add_show style. Changed PUT shows to add episodes in addition to show info.
Changed database structure, removed id and used tvdb_id instead. Allows ON DUPLICATE to work.