DEV: Add instrumentation for uploads (PR #14397)

This commit allows for measuring the time taken for individual uploads via the new uppy interfaces, only if the enable_upload_debug_mode site setting is enabled.

Also in this PR, for upload errors with a specific message locally, we return the real message to show in the modal instead of the upload.failed message so the developer does not have to dig around in logs.


Very very minor but in what case would you mix this into something without a siteSettings?

Good point, will remove this safe operator