Add some unit test to enforce the auto update cascade

re #7122
Implementation of new signature of setAutoUpdate

re #7122
ScriptRepository: clear AutoUpdate flag from folder that loose files

Now, if you have a folder set to auto update and you remove a local file,
this folder will clear the flag of autoupdate, because, it will not update
all the files anymore. (But, the files that were configured to be autupdate)
will continue to support it.

re #7122
ScriptRepository: use auto update from the framework

The previous version tried to provide auto-cascade from the GUI,
now, it has support in the API, so, it now uses the auto-cascade from
the API.

re #7122
Remove Compiler warning

re #7122