Added cancel before deleting job execution

Now delete method will stop running job before
deleting job execution object in database

Change-Id: Id61f0348b8043a9a62ad0cfc1916fce3af422497
Closes-bug: #1329431
Merge "Added cancel before deleting job execution"