lib.xcsoar.analysis: Use app.logger instead of the logging module
app: Explicitly configure log file and SMTP logging handlers
app: Add request data to error mails