Add log close function (based on PR-765-nate1280) (itofzo)
Add index on tvdb_id (tv_shows) and showid (tv_episodes)  (itofzo)
Change backup function and increment DB version (itofzo)