Improved support for third party SB branches and added 64bit support for thetvdb integration

Fixes #49