Plugin RestartFailed

Originally coded by forum user bambie, I've fully rewrited it using several api events. It is able to restart all failed and aborted downloads according to some settings.