(a) we now create an invoice from the order when the customer confirms his/her participation in the event, (b) introduced set_participant_status and modified participant-confirm.tcl and payment.tcl accordingly, (c) we now set the default invoice_template_id to 900 (=template.en.adp) as the invoices_info_query in im_invoice_copy_new fails to return any rows without it