Paperclip 4 support: enforce content types for attachments (closes #27)