Merge pull request #547 from itofzo/fix_exception_on_empties_tpb

ProperSearch: Fix exception on empties
iCalendar Fix
Change git and source updater

Switch to real git commands. Using lad1337/XDM as example.
+ Change source updater. Get commits behind directly using github api compare

Add downloaded update file corruption check
Add extra log lines
Add stdin to subprocess.Popen to prevent WindowsError: [Error 6] The handle is invalid on pythonw