fix pending human task search when tasks are assigned
BS-8389 : Bundle cannot start in Teamwork edition NullPointerException at org.bonitasoft.engine.profile.xml.ProfileBinding.getObject(ProfileBinding.java:58)

- Check if profile is not null when import it
merge BS-7820_ProcessManager into BS-771_PM_Do_For