AS7-6761 Force complete deployment restart when deployment dependency changes

Note that this works for both inter deployment dependencies, and module dependencies
between deployments.