ooiion:1568 Fix deployment activation logic to correctly assign devices to sites

fix deployment activation to use reference designator and to use outils to retrieve  site children

@mmeisinger please review
@jamie-cyber1 please review