Check allowed attachment types.
Unit and feature test fixes.
Data migration to create external_attachments.