WIP: Allow users to select which fields to include when exporting plans.

This adds extra settings to templates/plans, saves settings with ExportedPlan
data (in case they need to be re-exported later?) and uses ExportedPlan
as a kind of view model (currently for pdf export only).