Adding extension for attachments

maybe we should add content-type or enc-type (from HTML.FORM) to the template properties instead of having the client scan the list of items to find an "attachment" property on one (or more) of the data elements.

not sure of this as it opens up the possibility of other enc-types (which might be a good idea, but is out-of-scope for your extension).