Collect basic diagnostics in response to USR1

Capture:
 * Current contents of /varz
 * Information about pending requests, including
   - Request ID
   - Requested URI
   - Traceback

The diagnostic information will be written to a file in the configured
'diagnostics' directory or into a temporary directory if not configured.