Resolve race condition in conf.settings
Added failing settings race condition test
Simpler fix for race condition in settings
Reorder and add comments to settings test
Merge branch 'master' into settings_threading
Overwrite settings cache when loading from DB
Clear DB settings after test run
Isolate connection hack
Formatting
Merge
Slightly faster settings loader.
Fix some docstrings and messages.