Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts
Use module loggers rather than the root logger. Exceptions caused by bad clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str'
Fix pep8 codestyle warnings
Merge branch 'develop' into http_client_refactor