New Event "packageFinishedUnrar" when there are no more archives to extract in a package

I am using the ExternalScript Hook to run scripts as soon as unrar_finished is triggered.

When there are rar-archives inside rar-archives, of course pyload triggers unrar_finished multiple times. 
While this is certainly correct, it is sometimes useful to wait for the last archive to be extracted before doing executing scripts. Imagine I want to use a script to work on every extracted file in the package folder. When I use "unrar_finished", the script has to check for other running unrar processes and wait for them to finish and it has to deal with the possibility of having multiple instances of itself running. 

What I would like to have, is an event that triggers when all archives in a package are extracted. Would be easier for external scripts because you don't have to check for race conditions.



ExtractArchive Hook dispatches a new event: "packageFinishedUnrar" 
when there are no more files to extract in a package

ExternalScript Hook listens to the new event "packageFinishedUnrar"
and calls external scripts in folder "package_finished_unrar" with the
arguments "package name", "package folder", "package password", "package id" (same as packageFinished)