workflows: merging corrections

* Fixes import format.

* Fixes tests presentation.

* Fixes unit tests.

* Fixes PEP257.

* Fixes useless utf-8 conversion.

* Fixes _task_result type modification.

* Fixes python3 compatibility.

* Reformats the javascript code.

Signed-off-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>
workflows: test cleanup

* Makes sure that all objects are cleaned up after running
  tests.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>