Restructuring and added validation according to content_type

+ validations are required since paperclip version 4.1.x
+ moved ImageAttachments to separate file in order to load ImageAttachment
constant.