DEV: Clean up S3 specs, stubs, and helpers (PR #10756)

Extracted commonly used spec helpers into spec/support/uploads_helpers.rb, removed unused stubs and let definitions.

GitHub

+237 −444 :heart_eyes: