Added the ability to pass a file like object to upload_attachment, in ad...

...dition to a file path.

This allows passing in an ActionDispatch::Http::UploadedFile, or any other file like object, which RestClient takes care of uploading.