Refactor Paperclip::Attachment to eliminate code duplication between #extra_options_for and #extra_source_file_options_for

Refactor Paperclip::Attachment to eliminate code duplication between #extra_options_for and #extra_source_file_options_for.