Add test for invalid flag.
When completing a subtask, print a list of activated todos.

A todo becomes activated when all its children have been completed and
the other active conditions apply as well (e.g. start date has passed).