createActivity

Register an activity on a report. For state-change activity types, validates the transition and updates report.status atomically.