bigger downloader rewrite

communication with largedownload now works over hooks
through this we can have one thread less:
- downloader has a thread for processing new stuff
- the downloads are all in its own thread and can initiate the
postprocessing with the hooks

so in the end the postprocessing thread could be removed

also implemented an endable sleep method
downloader small simplifications