Transaction for thetvdb add/update/delete episodes and change episode status

I changed the add episodes from thetvdb (Add Show), update and delete show to a transaction. 

Also the Status changes in the WebIf on ShowPage and Episode Status Management use a transaction now.

I had to use a "INSERT OR REPLACE" with a embedded select on the primary key to simulate the upsert function and make a transaction possible.