Use standard logging library. Log various response errors. Allow
ResultsDBapiException to include requests.Response object for further
debugging from the parent script.
This should help us debug issues like these:
http://taskotron-dev.fedoraproject.org/taskmaster/builders/x86_64/builds/3/steps/runtask/logs/taskotron.log