workflows: test teardown improvement

* Improves object deletion in the test teardown.

* Adds cascading delete of logs related to Workflow and
  BibWorkflowObject.

Reported-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>