core: do not remove execution jobs with ongoing tasks
core: do not remove execution jobs with ongoing tasks

In I5973c a mechanism that removes execution jobs that cannot be
tracked after engine restart was added.
A check whether there are ongoing tasks which are related to the jobs
was missing, since if there are such async tasks then the operation
can be tracked and resumed.

Change-Id: I95b1066ca6fc015fd31101e7b551b4fae1d66904
Bug-Url: https://bugzilla.redhat.com/1040952
Signed-off-by: Arik Hadas <4817076c8cbf937260fc19e8bc79ad74394890b9@redhat.com>

yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine