Refactor Paperclip::Attachment#assign

* Extract private methods
* Remove trailing conditionals
* Remove explicit returns
* Remove `.self`