Remove Config class dependency from UploadedFile.

Removed the usage of Laravel's Config facade from the UploadedFile
class.  Valid image MIME types are now stored as an array directly
inside the UploadedFile class.