Allow adding a on_when_not_aggregating param to an IF.

This allows the IF to control if a postprocessor should be turned off when the analysis is running in aoi_mode (not aggregating).
Also added GUI for QCheckBoxes in function_options_dialog so that params with bool type will now be displayed as checkbox.