Improves "waitEgitJobs" method It improves the way the software wait for EGit jobs to terminate. Moreover it is likely that it will be used from other classes (see following reviews) so it has been moved to an util class. Change-Id: Ie8f8e429ec4a3d5e61bce5e0f7176b6fa2bc89b8