fix issues in deployment preload and make all ref designators unique
remove the parent_id link in R2
fix bad ref designator in deployment
Merge pull request #2024 from MauriceManning/1565_rebases2

OOIION-1565 Refactor deployment activation logic