FIX: Provide better API for registering custom upload public types (PR #10697)

With secure media and the UploadSecurity class, we need a nice way for plugins to register custom upload types that should be considered public and never secure.

GitHub