adds the `max_attachment_size_kb` setting

so that we can specify a different max upload size for attachments and images.

This setting defaults to 1MB.