Fix time format
Removed a bad bugfix

This could be seen in ar_add, where selecting a template did not
select the analyses.
Fix bug displaying QC analyses in worksheet

allowed_method_states defined too late
Fix invoice-batch creation for ARs

#1126
Some ValueErrors with bad float values in setupdata loader