TDI-30937 : Fix the tuj with log4j enabled
Fix NPE when flow connector is null
fixed some junit problem, because license for test.
Merge branch 'maintenance/5.6' of github.com:Talend/tdi-studio-se into maintenance/5.6