Eliminate _-setting from coverage.
Use late import to deal with logging configuration

If train.request and train.wsgi are imported at the top, the
logging configuration loaded by fileConfig() or basicConfig()
will not be reflected in the LOG loggers set up by those files.
To work around this, move the imports to after the logging has
been configured.