Add content-type-regex for the "data" property of attachments

This is needed for testing whether content-type-regex is correctly
used for validation in Consonant implementations.