Refactor WriteJobResultsToDrupal for python and style.

Utilize class properties
Improve error messages and logging.
3 jobs for master in 2 minutes and 39 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed test #105968

00:00:58

passed test-chart #105969

00:00:13

 
  Publish
passed build-latest-image #105970

00:01:39