LDEV-1576: Going back to a completed sequence activity was causing the first child activity to be marked as current (when it was already completed). Now it checks that the activity isn't completed before marking it as current.
LDEV-1569: Groups were not being deleted from db when deleted in authoring. Changing this required tweaking the group/branch activity entry cascade, so that both items could be deleted properly.