Fix get_reverse_depends to behave like the docstring. Ensure that dependent capabilities are stopped when stopping their base capability.