MULE-6831: Applications deleted when deployment fails

_  Fixing flaky test: all test should add applications using the synchronized utility methods
MULE-6831: Applications deleted when deployment fails

_  Fixing flaky tests: AppDirWatcher#run can be executed twice before mockito verifies the interaction with the mock. This flaky test was a really caused by a bug. Fixed decoding zombie file' urls