Time in state returns median and stdev as well
Handle multiple state log objects returned by the query in kard_pre_save signal. Fixes #143