Issue #1493108 by marcingy, sun, Mike Wacker, kbasarab, Berdir, Rok Žlender, cosmicdreams, alexpott: Convert logging and error settings to configuration system.

PR for https://github.com/backdrop/backdrop-issues/issues/170