Cleaning up workflow transition handling: always set tasks to finish after doTransition.
Make sure that metaset.content at least has an empty element.
Clear EM to prevent stale objects from being re-indexed.
Reformatting.
2.5.1: added new audit-log table.