Adding support for including attachments when exporting a database.

Includes ability to show a checkbox vs textbox now within the
taskinputs, using a datatemplate selector. Can be easily extended to
show drop downs etc.