AS7-6761 Force complete deployment restart when deployment dependency ch...

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