Propagate reseller and contract status to children

Properly terminate/lock/unlock sub-contracts and subscribers if the
parent contract status changes.